aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKillTheMule <KillTheMule@users.noreply.github.com>2017-10-29 18:21:26 +0100
committerKillTheMule <KillTheMule@users.noreply.github.com>2017-10-29 18:21:26 +0100
commit4daf63871adc2713ded2a6b8c07fe0ac4b6b3fc1 (patch)
tree65fba5ce942758a8d8fe309df3fd4a9214c8e6d2
parent7b4baad6747a1f812bdf62e5c8c7b59a6977ce44 (diff)
downloadrneovim-4daf63871adc2713ded2a6b8c07fe0ac4b6b3fc1.tar.gz
rneovim-4daf63871adc2713ded2a6b8c07fe0ac4b6b3fc1.tar.bz2
rneovim-4daf63871adc2713ded2a6b8c07fe0ac4b6b3fc1.zip
Fix cmd modifier tests for the new highlight
-rw-r--r--test/functional/ui/inccommand_spec.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/functional/ui/inccommand_spec.lua b/test/functional/ui/inccommand_spec.lua
index 88de2f07de..ceb2c83dd9 100644
--- a/test/functional/ui/inccommand_spec.lua
+++ b/test/functional/ui/inccommand_spec.lua
@@ -740,13 +740,13 @@ describe(":substitute, inccommand=split", function()
it("shows preview when cmd modifiers are present", function()
-- one modifier
feed(':keeppatterns %s/tw/to')
- screen:expect([[too lines]], nil, nil, nil, true)
+ screen:expect([[{12:to}o lines]], nil, nil, nil, true)
feed('<Esc>')
screen:expect([[two lines]], nil, nil, nil, true)
-- multiple modifiers
feed(':keeppatterns silent %s/tw/to')
- screen:expect([[too lines]], nil, nil, nil, true)
+ screen:expect([[{12:to}o lines]], nil, nil, nil, true)
feed('<Esc>')
screen:expect([[two lines]], nil, nil, nil, true)
@@ -1219,13 +1219,13 @@ describe("inccommand=nosplit", function()
it("shows preview when cmd modifiers are present", function()
-- one modifier
feed(':keeppatterns %s/tw/to')
- screen:expect([[too lines]], nil, nil, nil, true)
+ screen:expect([[{12:to}o lines]], nil, nil, nil, true)
feed('<Esc>')
screen:expect([[two lines]], nil, nil, nil, true)
-- multiple modifiers
feed(':keeppatterns silent %s/tw/to')
- screen:expect([[too lines]], nil, nil, nil, true)
+ screen:expect([[{12:to}o lines]], nil, nil, nil, true)
feed('<Esc>')
screen:expect([[two lines]], nil, nil, nil, true)