       atom.commands.dispatch editorView, 'list-edit:paste'
       expect(editor.getText()).toBe '{NoSep; NoSepEither}'
       expect(atom.notifications.addWarning).toHaveBeenCalledWith('Separator unknown, using default: \';\'');
+      expect(atom.notifications.addError).not.toHaveBeenCalled();
+      expect(atom.notifications.addFatalError).not.toHaveBeenCalled();
 
     it 'does not warn when a default separator isn\'t used because target range wasn\'t empty', ->
       listCopyFrom '[NoSep]', 0, 3

      editor.setCursorBufferPosition [0, 7] # paste on two
      atom.commands.dispatch editorView, 'list-edit:paste'
      expect(editor.getText()).toBe '{one, NoSep, three}'
      expect(atom.notifications.addWarning).not.toHaveBeenCalled();

    it 'does not warn when a default separator isn\'t used because target list was empty', ->
      listCopyFrom '[NoSep]', 0, 3

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] = []
