Add test to ensure that anon snippets aren't added to the list of snippets.

This commit is contained in:
rygwdn@gmail.com 2010-12-18 13:59:00 -04:00
parent 98b396ff24
commit 1e068f102a

View File

@ -1753,6 +1753,11 @@ class Anon_Trigger_Simple(_AnonBase):
keys = "abc" + EA keys = "abc" + EA
wanted = "simple expand" wanted = "simple expand"
class Anon_Trigger_Twice(_AnonBase):
args = '"simple expand", "abc"'
keys = "abc" + EA + "\nabc" + EX
wanted = "simple expand\nabc" + EX
class Anon_Trigger_Opts(_AnonBase): class Anon_Trigger_Opts(_AnonBase):
args = '"simple expand", ".*abc", "desc", "r"' args = '"simple expand", ".*abc", "desc", "r"'
keys = "blah blah abc" + EA keys = "blah blah abc" + EA