From 31ac3a98ed407cbaa5429bd04f72487b0c03c6b2 Mon Sep 17 00:00:00 2001 From: jazzpi Date: Tue, 16 Aug 2016 12:33:00 +0200 Subject: [PATCH] Fix spec for movement to mark --- spec/ex-commands-spec.coffee | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/spec/ex-commands-spec.coffee b/spec/ex-commands-spec.coffee index 4db66ce..311f18b 100644 --- a/spec/ex-commands-spec.coffee +++ b/spec/ex-commands-spec.coffee @@ -107,7 +107,7 @@ describe "the commands", -> it "moves to a mark's line", -> keydown('l') keydown('m') - commandModeInputKeydown 'a' + normalModeInputKeydown 'a' keydown('j') openEx() submitNormalModeInputText "'a" @@ -637,7 +637,6 @@ describe "the commands", -> waitsFor -> processedOpStack editor.setText('abc\ndef\nghi\njkl') editor.setCursorBufferPosition([1, 1]) - # For some reason, keydown(':') doesn't work here :/ atom.commands.dispatch(editorElement, 'ex-mode:open') submitNormalModeInputText(',/k/delete') expect(editor.getText()).toEqual('abc\n')