Fix search not working without a closing delimiter
This commit is contained in:
parent
f22ae13cfd
commit
0f91ab5ae0
3 changed files with 83 additions and 14 deletions
|
|
@ -118,9 +118,10 @@ describe "the commands", ->
|
|||
submitNormalModeInputText '/def'
|
||||
expect(editor.getCursorBufferPosition()).toEqual [1, 0]
|
||||
|
||||
editor.setCursorBufferPosition([2, 0])
|
||||
openEx()
|
||||
submitNormalModeInputText '?abc'
|
||||
expect(editor.getCursorBufferPosition()).toEqual [0, 0]
|
||||
submitNormalModeInputText '?def'
|
||||
expect(editor.getCursorBufferPosition()).toEqual [1, 0]
|
||||
|
||||
editor.setCursorBufferPosition([3, 0])
|
||||
openEx()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue