From 97bad9906a4b1286d8d0a736382193ed1e8a8b07 Mon Sep 17 00:00:00 2001 From: cwahbong Date: Tue, 29 Jul 2014 12:58:15 +0800 Subject: [PATCH] Add test case for #341 (github). --- test/test_TabStop.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/test_TabStop.py b/test/test_TabStop.py index ffcf33b..73f105b 100644 --- a/test/test_TabStop.py +++ b/test/test_TabStop.py @@ -251,3 +251,8 @@ class TabStopNavigatingInInsertModeSimple_ExpectCorrectResult(_VimTest): snippets = ("hallo", "Hallo ${1:WELT} ups") keys = "hallo" + EX + "haselnut" + 2*ARR_L + "hips" + JF + "end" wanted = "Hallo haselnhipsut upsend" + +class TabStop_CROnlyOnSelectedNear(_VimTest): + snippets = ("test", "t$1t${2: }t{\n\t$0\n}") + keys = "test" + EX + JF + "\n" + JF + "t" + wanted = "tt\nt{\n\tt\n}"