Skip to content
Permalink
Browse files

test/tag.t: Add test for '%' character in a tag.

  • Loading branch information...
sruffell authored and lauft committed Jan 6, 2019
1 parent 01d1142 commit 44ed56ad38587850e9d8bca0ea9f371540286147
Showing with 7 additions and 0 deletions.
  1. +7 −0 test/tag.t
@@ -248,6 +248,13 @@ class TestTag(TestCase):
self.assertNotIn("Note: 'bar' is a new tag", out)
self.assertIn("Added bar to @1", out)

def test_tag_with_percent_sign(self):
"""Call 'tag' with an embedded percent sign"""
code, out, err = self.t("start 'ta%g'")
self.assertIn("Note: '\"ta%g\"' is a new tag", out)
self.t("stop")
self.t("delete @1")


if __name__ == "__main__":
from simpletap import TAPTestRunner

0 comments on commit 44ed56a

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.