Added a failing test that can not be corrected with our current parser
This commit is contained in:
parent
6257b2bb6b
commit
4fe0cd4da3
12
test.py
12
test.py
@ -443,6 +443,18 @@ class TabStop_EscapingCharsDollars(_VimTest):
|
|||||||
snippets = ("test", r"snip \$0 $$0 end")
|
snippets = ("test", r"snip \$0 $$0 end")
|
||||||
keys = "test" + EX + "hi"
|
keys = "test" + EX + "hi"
|
||||||
wanted = "snip $0 $hi end"
|
wanted = "snip $0 $hi end"
|
||||||
|
class TabStop_EscapingCharsDollars1(_VimTest):
|
||||||
|
snippets = ("test", r"a\${1:literal}")
|
||||||
|
keys = "test" + EX
|
||||||
|
wanted = "a${1:literal}"
|
||||||
|
class TabStop_EscapingCharsDollars_BeginningOfLine(_VimTest):
|
||||||
|
snippets = ("test", "\n\\${1:literal}")
|
||||||
|
keys = "test" + EX
|
||||||
|
wanted = "\n${1:literal}"
|
||||||
|
class TabStop_EscapingCharsDollars_BeginningOfDefinitionText(_VimTest):
|
||||||
|
snippets = ("test", "\\${1:literal}")
|
||||||
|
keys = "test" + EX
|
||||||
|
wanted = "${1:literal}"
|
||||||
class TabStop_EscapingChars_Backslash(_VimTest):
|
class TabStop_EscapingChars_Backslash(_VimTest):
|
||||||
snippets = ("test", r"This \ is a backslash!")
|
snippets = ("test", r"This \ is a backslash!")
|
||||||
keys = "test" + EX
|
keys = "test" + EX
|
||||||
|
Loading…
x
Reference in New Issue
Block a user