]> git.notmuchmail.org Git - notmuch/blobdiff - test/thread-naming
test: allow specifying tests to run with NOTMUCH_TESTS env var
[notmuch] / test / thread-naming
index 987c3b331a4a2ccbbf5b20f6d4bc99f314bdf35c..bcc3d610b8bf6b977dea138632b3d490550fcea5 100755 (executable)
@@ -2,7 +2,7 @@
 test_description="naming of threads with changing subject"
 . ./test-lib.sh
 
-test_begin_subtest 'Generate some messages'
+test_begin_subtest "Initial thread name (oldest-first search)"
 add_message '[subject]="thread-naming: Initial thread subject"' \
             '[date]="Fri, 05 Jan 2001 15:43:56 -0000"'
 first=${gen_msg_cnt}
@@ -17,9 +17,6 @@ add_message '[subject]="thread-naming: Final thread subject"' \
             '[date]="Mon, 08 Jan 2001 15:43:56 -0000"' \
             "[in-reply-to]=\<$parent\>"
 final=${gen_msg_id}
-test_expect_equal '' ''
-
-test_begin_subtest "Initial thread name (oldest-first search)"
 output=$(notmuch search --sort=oldest-first thread-naming and tag:inbox | notmuch_search_sanitize)
 test_expect_equal "$output" "thread:XXX   2001-01-05 [4/4] Notmuch Test Suite; thread-naming: Initial thread subject (inbox unread)"