added a testcase for bug 501727
This commit is contained in:
parent
aede01607d
commit
6b38c5d186
20
test.py
20
test.py
@ -1841,6 +1841,26 @@ endsnippet
|
||||
wanted = "x first a bob b y"
|
||||
|
||||
|
||||
###########################################################################
|
||||
# Test for bug 501727 #
|
||||
###########################################################################
|
||||
class TestNonEmptyLangmap_ExceptCorrectResult(_VimTest):
|
||||
snippets = ("testme",
|
||||
"""my snipped ${1:some_default}
|
||||
and a mirror: $1
|
||||
$2...$3
|
||||
$0""")
|
||||
keys = "testme" + EX + "hi1" + JF + "hi2" + JF + "hi3" + JF + "hi4"
|
||||
wanted ="""my snipped hi1
|
||||
and a mirror: hi1
|
||||
hi2...hi3
|
||||
hi4"""
|
||||
|
||||
def _options_on(self):
|
||||
self.send(":set langmap=dj,rk,nl,ln,jd,kr,DJ,RK,NL,LN,JD,KR\n")
|
||||
def _options_off(self):
|
||||
self.send(":set langmap=\n")
|
||||
|
||||
###########################################################################
|
||||
# END OF TEST #
|
||||
###########################################################################
|
||||
|
Loading…
Reference in New Issue
Block a user