       editor.insertText("getPreviousWord \n")
       editor.insertText("e, => \n")
       editor.insertText(" 88 \n")
-      editor.setCursorBufferPosition([0,0])
-      editor.addCursorAtBufferPosition([1,0])
-      editor.addCursorAtBufferPosition([2,2])
-      editor.addCursorAtBufferPosition([3,0])
+      editor.setCursorBufferPosition([0, 0])
+      editor.addCursorAtBufferPosition([1, 0])
+      editor.addCursorAtBufferPosition([2, 2])
+      editor.addCursorAtBufferPosition([3, 0])
       [cursor1, cursor2, cursor3, cursor4] = editor.getCursors()
 
       editor.deleteToEndOfSubword()

      editor.insertText("getPreviousWord\n")
      editor.insertText("e, => \n")
      editor.insertText(" 88 \n")
      editor.setCursorBufferPosition([0,1])
      editor.addCursorAtBufferPosition([1,7])
      editor.addCursorAtBufferPosition([2,2])
      editor.addCursorAtBufferPosition([3,1])
      [selection1, selection2, selection3, selection4] = editor.getSelections()

      editor.selectToNextSubwordBoundary()
      expect(selection1.getBufferRange()).toEqual([[0,1], [0,4]])
      expect(selection1.isReversed()).toBeFalsy()
      expect(selection2.getBufferRange()).toEqual([[1,7], [1,11]])
      expect(selection2.isReversed()).toBeFalsy()
      expect(selection3.getBufferRange()).toEqual([[2,2], [2,5]])
      expect(selection3.isReversed()).toBeFalsy()
      expect(selection4.getBufferRange()).toEqual([[3,1], [3,3]])
      expect(selection4.isReversed()).toBeFalsy()

  describe ".deleteToBeginningOfSubword", ->

      editor.insertText(" getPreviousWord\n")
      editor.insertText("e, => \n")
      editor.insertText(" 88 \n")
      editor.setCursorBufferPosition([0, 5])
      editor.addCursorAtBufferPosition([1, 7])
      editor.addCursorAtBufferPosition([2, 5])
      editor.addCursorAtBufferPosition([3, 3])
      [selection1, selection2, selection3, selection4] = editor.getSelections()

      editor.selectToPreviousSubwordBoundary()
      expect(selection1.getBufferRange()).toEqual([[0, 1], [0, 5]])
      expect(selection1.isReversed()).toBeTruthy()
      expect(selection2.getBufferRange()).toEqual([[1, 4], [1, 7]])
      expect(selection2.isReversed()).toBeTruthy()
      expect(selection3.getBufferRange()).toEqual([[2, 3], [2, 5]])
      expect(selection3.isReversed()).toBeTruthy()
      expect(selection4.getBufferRange()).toEqual([[3, 1], [3, 3]])
      expect(selection4.isReversed()).toBeTruthy()

  describe ".selectToNextSubwordBoundary", ->
