 ListEdit = require '../lib/list-edit'
+
+expectNoErrorsOrWarnings = ->
+  expect(atom.notifications.addWarning).not.toHaveBeenCalled();
+  expect(atom.notifications.addError).not.toHaveBeenCalled();
+  expect(atom.notifications.addFatalError).not.toHaveBeenCalled();
 
 describe 'ListEdit', ->
   [editor, editorView] = []

        #       we need to dispatch to atom.views.getView(editor) instead of atom.views.getView(atom.workspace)
        atom.commands.dispatch editorView, 'list-edit:copy'
        # Activate package with a neutral list-edit:copy, so the test edit commands don't have to deal with activation.
        activationPromise

  it 'correctly scans strings and comments', ->
    #               01234567890123456789 01234567 890123456789012 34567890123456789012345

        })

  describe 'list-cut', ->
    afterEach ->
      expectNoErrorsOrWarnings()

    it 'Cursor inside element in singleton list cuts element and whitespace', ->
      editor.setText '[ Single ]'
      editor.setCursorBufferPosition [0, 3]
