X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=test%2Ftagging;h=980ff9274b8228bd2c2559a756cafe1ec1fefaac;hp=e4782ed490d70c536a6c4bfdf94397416fffaf77;hb=e0a223d15656a8a8fd6564687425a7e583f29b61;hpb=02cafc84b4540cd0fb878121dcb3551b4ecd9fd1 diff --git a/test/tagging b/test/tagging index e4782ed4..980ff927 100755 --- a/test/tagging +++ b/test/tagging @@ -46,4 +46,8 @@ test_expect_equal "$output" "\ thread:XXX 2001-01-05 [1/1] Notmuch Test Suite; One (:\" inbox tag1 unread) thread:XXX 2001-01-05 [1/1] Notmuch Test Suite; Two (inbox tag1 tag4 unread)" +test_expect_code 1 "Empty tag names" 'notmuch tag + One' + +test_expect_code 1 "Tag name beginning with -" 'notmuch tag +- One' + test_done