       editor.setCursorBufferPosition [0, 1] # paste in empty list
       atom.commands.dispatch editorView, 'list-edit:paste'
       expect(editor.getText()).toBe '{NoSep}'
-      expect(atom.notifications.addWarning).not.toHaveBeenCalled();
+      expectNoErrorsOrWarnings()
 
 describe 'ListEdit on a file with a JavaScript grammar', ->
   [editor, editorView] = []

      expect(editor.getText()).toBe '[Blinky, NewGhost, Inky, Clyde]'

  describe 'list-copy/paste between lists', ->

  # 0123456789012345678
    verticalListTxt = '''

      expect(editor.getText()).toBe '[   Clyde   ]'

  describe 'separator defaulting', ->
    it 'warns when a default separator is used', ->
      listCopyFrom '[NoSep]', 0, 3
      editor.setText '{NoSepEither}'
