mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
Fix cmd modifier tests for the new highlight
This commit is contained in:
parent
7b4baad674
commit
4daf63871a
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user