]> git.notmuchmail.org Git - notmuch/blobdiff - test/T510-thread-replies.sh
test: add known broken test for good In-Reply-To / bad References
[notmuch] / test / T510-thread-replies.sh
index 915e68ef9fcf7853a28f95687de579961d40329e..8ff2ade9711f3756a083283a7be53e237aa6f0b9 100755 (executable)
@@ -209,4 +209,18 @@ End of search results.
 EOF
 test_expect_equal_file EXPECTED OUTPUT
 
+test_begin_subtest "trusting reply-to (tree view)"
+test_subtest_known_broken
+test_emacs '(notmuch-tree "id:B00-root@example.org")
+           (notmuch-test-wait)
+           (test-output)
+           (delete-other-windows)'
+cat <<EOF > EXPECTED
+  2016-06-17  Alice                 ┬►root message                                        (inbox unread)
+  2016-06-18  Alice                 ╰┬►child message                                      (inbox unread)
+  2016-06-18  Alice                  ╰─►grand-child message                               (inbox unread)
+End of search results.
+EOF
+test_expect_equal_file EXPECTED OUTPUT
+
 test_done