aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Humpula <michal.humpula@seznam.cz>2014-01-26 19:26:50 (GMT)
committerMichal Humpula <michal.humpula@seznam.cz>2014-01-26 19:26:50 (GMT)
commit83923f69d923c1fe443a3d12ab09cd9177d603bd (patch)
tree1cd9b280223e947c83dc5f1ea41f17631d58d3ff
parentb0e0f4550cc2ef0d0f7109ccea79283879190208 (diff)
vi-mode: enable more tests
-rw-r--r--autotests/src/vimode_test.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/autotests/src/vimode_test.cpp b/autotests/src/vimode_test.cpp
index 9deb552..f595274 100644
--- a/autotests/src/vimode_test.cpp
+++ b/autotests/src/vimode_test.cpp
@@ -2276,17 +2276,17 @@ void ViModeTest::CommandModeTests()
TestPressKey("\\:$c\\"); // Work around ambiguity in the code that parses commands to execute.
TestPressKey("\\:$change\\");
FinishTest("foo\nbar\n");
- //FIXME: DoTest("foo\nbar\nbaz","ma\\:2,'achange\\","\nbaz");
+ DoTest("foo\nbar\nbaz","ma\\:2,'achange\\","\nbaz");
DoTest("foo\nbar\nbaz", "\\:2,3c\\", "foo\n");
// Testing ":j"
DoTest("1\n2\n3\n4\n5", "\\:2,4j\\", "1\n2 3 4\n5");
- //FIXME: DoTest("1\n2\n3\n4","jvj\\ctrl-c\\:'<,'>d\\enter","1\n4");
+ DoTest("1\n2\n3\n4","jvj\\ctrl-c\\:'<,'>d\\enter","1\n4");
DoTest("1\n2\n3\n4", "\\:1+1+1+1d\\", "1\n2\n3");
- //FIXME: DoTest("1\n2\n3\n4","2j\\:.,.-1d\\","1\n4");
+ DoTest("1\n2\n3\n4","2j\\:.,.-1d\\","1\n4");
DoTest("1\n2\n3\n4", "\\:.+200-100-100+20-5-5-5-5+.-.,$-1+1-2+2-3+3-4+4-5+5-6+6-7+7-1000+1000+0-0-$+$-.+.-1d\\", "4");
- //FIXME: DoTest("1\n2\n3\n4","majmbjmcjmdgg\\:'a+'b+'d-'c,.d\\","");
+ DoTest("1\n2\n3\n4","majmbjmcjmdgg\\:'a+'b+'d-'c,.d\\","");
}
class VimStyleCommandBarTestsSetUpAndTearDown
@@ -6603,7 +6603,7 @@ void ViModeTest::MacroTests()
clearAllMacros();
DoTest("XXXX\nXXXX\nXXXX\nXXXX", "qarOljq3@au", "OXXX\nXXXX\nXXXX\nXXXX");
- { /* FIXME: this get broken
+ {
VimStyleCommandBarTestsSetUpAndTearDown vimStyleCommandBarTestsSetUpAndTearDown(kate_view, mainWindow);
// Make sure we can macro-ise an interactive sed replace.
clearAllMacros();
@@ -6613,7 +6613,6 @@ void ViModeTest::MacroTests()
DoTest("foo foo foo foo\nfoo foo foo foo", "qa:s/foo/bar/gc\\enteryyqAdone\\escqggj@a", "bar bar foo foodone\nbar bar foo foodone");
clearAllMacros();
DoTest("foo foo foo foo\nfoo foo foo foo", "qa:s/foo/bar/gc\\enteryyqqAdone\\escggj@aAdone\\esc", "bar bar foo foodone\nbar bar foo foodone");
- */
}
clearAllMappings();