Added two more tests I wrote while searching a bug that wasn't even there
This commit is contained in:
parent
0711c6b75a
commit
f29c3ac63a
9
test.py
9
test.py
@ -2013,6 +2013,15 @@ class Anon_NoTrigger_AfterSpace(_AnonBase):
|
|||||||
keys = "abc " + EA
|
keys = "abc " + EA
|
||||||
wanted = "abc simple expand"
|
wanted = "abc simple expand"
|
||||||
|
|
||||||
|
class Anon_NoTrigger_BeginningOfLine(_AnonBase):
|
||||||
|
args = r"':latex:\`$1\`$0'"
|
||||||
|
keys = EA + "Hello" + JF + "World"
|
||||||
|
wanted = ":latex:`Hello`World"
|
||||||
|
class Anon_NoTrigger_FirstCharOfLine(_AnonBase):
|
||||||
|
args = r"':latex:\`$1\`$0'"
|
||||||
|
keys = " " + EA + "Hello" + JF + "World"
|
||||||
|
wanted = " :latex:`Hello`World"
|
||||||
|
|
||||||
class Anon_NoTrigger_Multi(_AnonBase):
|
class Anon_NoTrigger_Multi(_AnonBase):
|
||||||
args = '"simple $1 expand $1 $0"'
|
args = '"simple $1 expand $1 $0"'
|
||||||
keys = "abc" + EA + "123" + JF + "456"
|
keys = "abc" + EA + "123" + JF + "456"
|
||||||
|
Loading…
Reference in New Issue
Block a user