diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/functional/ui/inccommand_spec.lua | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/test/functional/ui/inccommand_spec.lua b/test/functional/ui/inccommand_spec.lua index ceb2c83dd9..6646e65bad 100644 --- a/test/functional/ui/inccommand_spec.lua +++ b/test/functional/ui/inccommand_spec.lua @@ -948,7 +948,7 @@ describe(":substitute, inccommand=split", function() ]]) end) - it('highlights nothing when there\'s no match', function() + it("highlights nothing when there's no match", function() feed('gg') feed(':%s/Inx') screen:expect([[ @@ -1235,7 +1235,7 @@ describe("inccommand=nosplit", function() feed('<Esc>') end) - it("does not show window after toggling :set inccomand", function() + it("does not show window after toggling :set inccommand", function() feed(":%s/tw/OKOK") feed("<Esc>") command("set icm=split") @@ -1800,7 +1800,7 @@ describe(":substitute", function() clear() end) - it(", inccomand=split, highlights multiline substitutions", function() + it(", inccommand=split, highlights multiline substitutions", function() common_setup(screen, "split", multiline_text) feed("gg") @@ -1862,7 +1862,7 @@ describe(":substitute", function() ]]) end) - it(", inccomand=nosplit, highlights multiline substitutions", function() + it(", inccommand=nosplit, highlights multiline substitutions", function() common_setup(screen, "nosplit", multiline_text) feed("gg") @@ -1905,7 +1905,7 @@ describe(":substitute", function() ]]) end) - it(", inccomand=split, highlights multiple matches on a line", function() + it(", inccommand=split, highlights multiple matches on a line", function() common_setup(screen, "split", multimatch_text) command("set gdefault") feed("gg") @@ -1930,7 +1930,7 @@ describe(":substitute", function() ]]) end) - it(", inccomand=nosplit, highlights multiple matches on a line", function() + it(", inccommand=nosplit, highlights multiple matches on a line", function() common_setup(screen, "nosplit", multimatch_text) command("set gdefault") feed("gg") @@ -1955,7 +1955,7 @@ describe(":substitute", function() ]]) end) - it(", inccomand=split, with \\zs", function() + it(", inccommand=split, with \\zs", function() common_setup(screen, "split", multiline_text) feed("gg") @@ -1979,7 +1979,7 @@ describe(":substitute", function() ]]) end) - it(", inccomand=nosplit, with \\zs", function() + it(", inccommand=nosplit, with \\zs", function() common_setup(screen, "nosplit", multiline_text) feed("gg") @@ -2003,7 +2003,7 @@ describe(":substitute", function() ]]) end) - it(", inccomand=split, substitutions of different length", + it(", inccommand=split, substitutions of different length", function() common_setup(screen, "split", "T T123 T2T TTT T090804\nx") @@ -2027,7 +2027,7 @@ describe(":substitute", function() ]]) end) - it(", inccomand=nosplit, substitutions of different length", function() + it(", inccommand=nosplit, substitutions of different length", function() common_setup(screen, "nosplit", "T T123 T2T TTT T090804\nx") feed(":%s/T\\([0-9]\\+\\)/\\1\\1/g") @@ -2050,7 +2050,7 @@ describe(":substitute", function() ]]) end) - it(", inccomand=split, contraction of lines", function() + it(", inccommand=split, contraction of lines", function() local text = [[ T T123 T T123 T2T TT T23423424 x @@ -2099,7 +2099,7 @@ describe(":substitute", function() ]]) end) - it(", inccomand=nosplit, contraction of lines", function() + it(", inccommand=nosplit, contraction of lines", function() local text = [[ T T123 T T123 T2T TT T23423424 x @@ -2211,7 +2211,7 @@ describe(":substitute", function() ]]) end) - it(", inccomand=split, small cmdwinheight", function() + it(", inccommand=split, small cmdwinheight", function() common_setup(screen, "split", long_multiline_text) command("set cmdwinheight=2") @@ -2273,7 +2273,7 @@ describe(":substitute", function() ]]) end) - it(", inccomand=split, large cmdwinheight", function() + it(", inccommand=split, large cmdwinheight", function() common_setup(screen, "split", long_multiline_text) command("set cmdwinheight=11") @@ -2335,7 +2335,7 @@ describe(":substitute", function() ]]) end) - it(", inccomand=split, lookaround", function() + it(", inccommand=split, lookaround", function() common_setup(screen, "split", "something\neverything\nsomeone") feed([[:%s/\(some\)\@<lt>=thing/one/]]) screen:expect([[ |