X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=test%2Femacs-subject-to-filename;h=a0ffdfef038aefcea46acd12f7d6e765e9c39d5a;hp=176e6859b0dbaba87d13f9bf87121eb49e469a83;hb=84a0c529b960e1d305280ba56be3854c0f2679df;hpb=d43f6c00b351424e903c2f2b71c34bc5902b467e diff --git a/test/emacs-subject-to-filename b/test/emacs-subject-to-filename index 176e6859..a0ffdfef 100755 --- a/test/emacs-subject-to-filename +++ b/test/emacs-subject-to-filename @@ -8,10 +8,10 @@ test_emacs '(ignore)' # test notmuch-wash-subject-to-patch-sequence-number (subject) test_begin_subtest "no patch sequence number" -output=$(test_emacs '(notmuch-wash-subject-to-patch-sequence-number - "[PATCH] A normal patch subject without numbers")' +output=$(test_emacs '(format "%S" (notmuch-wash-subject-to-patch-sequence-number + "[PATCH] A normal patch subject without numbers"))' ) -test_expect_equal "$output" "" +test_expect_equal "$output" '"nil"' test_begin_subtest "patch sequence number #1" output=$(test_emacs '(notmuch-wash-subject-to-patch-sequence-number