]> git.notmuchmail.org Git - notmuch/blobdiff - test/tagging
tag: Disallow adding malformed tags to messages
[notmuch] / test / tagging
index e4782ed490d70c536a6c4bfdf94397416fffaf77..980ff9274b8228bd2c2559a756cafe1ec1fefaac 100755 (executable)
@@ -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