From 803c38477f1f9e4db7b9161e8aece218ccf8cf80 Mon Sep 17 00:00:00 2001 From: Max Brunsfeld Date: Tue, 3 Nov 2015 12:45:58 -0800 Subject: [PATCH] Fix indentation in subword motion specs --- spec/text-editor-spec.coffee | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/spec/text-editor-spec.coffee b/spec/text-editor-spec.coffee index 2e4e45a22..156ae1759 100644 --- a/spec/text-editor-spec.coffee +++ b/spec/text-editor-spec.coffee @@ -4601,16 +4601,16 @@ describe "TextEditor", -> expect(cursor1.getBufferPosition()).toEqual([0, 3]) expect(cursor2.getBufferPosition()).toEqual([1, 6]) - it "works with non-English characters", -> - editor.setText("supåTøåst \n") - editor.setCursorBufferPosition([0, 9]) - editor.moveToPreviousSubwordBoundary() - expect(editor.getCursorBufferPosition()).toEqual([0, 4]) + it "works with non-English characters", -> + editor.setText("supåTøåst \n") + editor.setCursorBufferPosition([0, 9]) + editor.moveToPreviousSubwordBoundary() + expect(editor.getCursorBufferPosition()).toEqual([0, 4]) - editor.setText("supaÖast \n") - editor.setCursorBufferPosition([0, 8]) - editor.moveToPreviousSubwordBoundary() - expect(editor.getCursorBufferPosition()).toEqual([0, 4]) + editor.setText("supaÖast \n") + editor.setCursorBufferPosition([0, 8]) + editor.moveToPreviousSubwordBoundary() + expect(editor.getCursorBufferPosition()).toEqual([0, 4]) describe ".moveToNextSubwordBoundary", -> it "does not move the cursor when there is no next subword boundary", -> @@ -4690,16 +4690,16 @@ describe "TextEditor", -> expect(cursor1.getBufferPosition()).toEqual([0, 3]) expect(cursor2.getBufferPosition()).toEqual([1, 6]) - it "works with non-English characters", -> - editor.setText("supåTøåst \n") - editor.setCursorBufferPosition([0, 0]) - editor.moveToNextSubwordBoundary() - expect(editor.getCursorBufferPosition()).toEqual([0, 4]) + it "works with non-English characters", -> + editor.setText("supåTøåst \n") + editor.setCursorBufferPosition([0, 0]) + editor.moveToNextSubwordBoundary() + expect(editor.getCursorBufferPosition()).toEqual([0, 4]) - editor.setText("supaÖast \n") - editor.setCursorBufferPosition([0, 0]) - editor.moveToNextSubwordBoundary() - expect(editor.getCursorBufferPosition()).toEqual([0, 4]) + editor.setText("supaÖast \n") + editor.setCursorBufferPosition([0, 0]) + editor.moveToNextSubwordBoundary() + expect(editor.getCursorBufferPosition()).toEqual([0, 4]) describe ".selectToPreviousSubwordBoundary", -> it "selects subwords", ->