Fix spec for movement to mark
This commit is contained in:
parent
3c952ccbfe
commit
31ac3a98ed
1 changed files with 1 additions and 2 deletions
|
|
@ -107,7 +107,7 @@ describe "the commands", ->
|
||||||
it "moves to a mark's line", ->
|
it "moves to a mark's line", ->
|
||||||
keydown('l')
|
keydown('l')
|
||||||
keydown('m')
|
keydown('m')
|
||||||
commandModeInputKeydown 'a'
|
normalModeInputKeydown 'a'
|
||||||
keydown('j')
|
keydown('j')
|
||||||
openEx()
|
openEx()
|
||||||
submitNormalModeInputText "'a"
|
submitNormalModeInputText "'a"
|
||||||
|
|
@ -637,7 +637,6 @@ describe "the commands", ->
|
||||||
waitsFor -> processedOpStack
|
waitsFor -> processedOpStack
|
||||||
editor.setText('abc\ndef\nghi\njkl')
|
editor.setText('abc\ndef\nghi\njkl')
|
||||||
editor.setCursorBufferPosition([1, 1])
|
editor.setCursorBufferPosition([1, 1])
|
||||||
# For some reason, keydown(':') doesn't work here :/
|
|
||||||
atom.commands.dispatch(editorElement, 'ex-mode:open')
|
atom.commands.dispatch(editorElement, 'ex-mode:open')
|
||||||
submitNormalModeInputText(',/k/delete')
|
submitNormalModeInputText(',/k/delete')
|
||||||
expect(editor.getText()).toEqual('abc\n')
|
expect(editor.getText()).toEqual('abc\n')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue