           editor.insertNewline()
           editor.undo()
           expect(buffer.lineForRow(0)).toBe 'void main() {}'
-          
+
   describe "matching bracket deletion", ->
     it "deletes the end bracket when it directly proceeds a begin bracket that is being backspaced", ->
       buffer.setText("")

        editor.insertText '{'
        expect(buffer.lineForRow(0)).toBe 'void main() {}'
        editor.insertNewline()
        expect(editor.getCursorBufferPosition()).toEqual [1, 0] #atom.config.getInt('editor.tabLength')]
        expect(buffer.lineForRow(2)).toBe '}'

      describe "when undo is triggered", ->


    waitsForPromise ->
      atom.packages.activatePackage('bracket-matcher')

    waitsForPromise ->
      atom.packages.activatePackage('language-javascript')

    runs ->
      editorView = atom.workspaceView.getActiveView()
