X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=test%2FT370-search-folder-coherence.sh;h=8748b3d00eeb0cdae3df92a6c5299ca4abf59f78;hb=d57da17fcd30a5cbe191ccd42906e489dd2bd6a3;hp=da4ec2b8c61a15403b14433b0774ca6aaaf7f2b7;hpb=33c8777a967ece2dd4bbda7e83a4e07c195abf51;p=notmuch diff --git a/test/T370-search-folder-coherence.sh b/test/T370-search-folder-coherence.sh index da4ec2b8..8748b3d0 100755 --- a/test/T370-search-folder-coherence.sh +++ b/test/T370-search-folder-coherence.sh @@ -28,11 +28,11 @@ MAIL_DIR/msg-001 MAIL_DIR/spam/msg-001 EOF notmuch search --output=files id:$id_x | notmuch_search_files_sanitize >OUTPUT -test_expect_equal_file OUTPUT EXPECTED +test_expect_equal_file EXPECTED OUTPUT test_begin_subtest "Test matches folder:spam" output=$(notmuch search folder:spam) -test_expect_equal "$output" "thread:0000000000000001 2001-01-05 [1/1] Notmuch Test Suite; Single new message (inbox unread)" +test_expect_equal "$output" "thread:0000000000000001 2001-01-05 [1/1(2)] Notmuch Test Suite; Single new message (inbox unread)" test_begin_subtest "Remove folder:spam copy of email" rm $dir/spam/$(basename $file_x)