From 25882e95cd8981308c4b2d87dcc2c2d6ecd73a6d Mon Sep 17 00:00:00 2001 From: Stanislav Seletskiy Date: Sat, 13 Feb 2016 20:42:38 +0600 Subject: [PATCH] add testcase for #658 --- test/test_SnipMate.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/test/test_SnipMate.py b/test/test_SnipMate.py index f8cdbde..c730354 100644 --- a/test/test_SnipMate.py +++ b/test/test_SnipMate.py @@ -174,3 +174,18 @@ endsnippet keys = 'def' + EX wanted = 'ultisnips' # End: snipMate support #}}} + +class snipMate_Issue658(_VimTest): + files = { 'snippets/_.snippets': """ +snippet /* +\t/* +\t * ${0} +\t */ +"""} + keys = ESC + ':set fo=r\n' + 'i/*' + EX + '1\n2' + wanted = """/* + * 1 + * 2 + */ +"""; +# End: snipMate support #}}}