add test for vim<7.4.214

This commit is contained in:
Stanislav Seletskiy 2015-08-13 12:01:11 +06:00
parent 5a5de07349
commit 9eb2de6c34

View File

@ -54,3 +54,16 @@ class Autotrigger_CanExpandOnTriggerWithLengthMoreThanOne(_VimTest):
"""}
keys = 'abc'
wanted = 'autotriggered'
class Autotrigger_WillProduceNoExceptionWithVimLowerThan214(_VimTest):
skip_if = lambda self: 'Vim older than 7.4.214 is required' \
if has_patch(214, self.vim._vim_executable) else None
files = { 'us/all.snippets': r"""
snippet abc "desc" A
autotriggered
endsnippet
"""}
keys = 'abc'
wanted = 'abc'