From 4b27b7152dfbe121bc3d4aacc242099805b4cca7 Mon Sep 17 00:00:00 2001 From: dNItro Date: Mon, 25 Jan 2016 04:25:15 -0800 Subject: [PATCH] Testcase added! --- test/test_Transformation.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/test_Transformation.py b/test/test_Transformation.py index 9f7bfac..0b5ee20 100644 --- a/test/test_Transformation.py +++ b/test/test_Transformation.py @@ -179,6 +179,12 @@ class Transformation_OptionIgnoreCase_ECR(_VimTest): wanted = 'TEST blah' +class Transformation_OptionMultiline_ECR(_VimTest): + snippets = ('test', r"${VISUAL/^/* /mg}") + keys = 'test\ntest\ntest' + ESC + 'V2k' + EX + 'test' + EX + wanted = '* test\n* test\n* test' + + class Transformation_OptionReplaceGlobal_ECR(_VimTest): snippets = ('test', r"$1 ${1/, */-/g}") keys = 'test' + EX + 'a, nice, building'