       atom.commands.dispatch(editorElement, "markdown:indent-list-item")
       expect(editor.getText()).toBe('-item')
 
-    it 'indents a list-item with a single leading space', ->
+    it 'indents a partially indented list-item', ->
       editor.setText(' - item')
       atom.commands.dispatch(editorElement, "markdown:indent-list-item")
       expect(editor.getText()).toBe('   - item')

      atom.commands.dispatch(editorElement, "markdown:indent-list-item")
      expect(editor.getText()).toBe('  - [ ] task')

    # TODO it should not indent definition-lists
    # xit 'does NOT indent definition-lists', ->
    #   editor.setText(': definition')
    #   atom.commands.dispatch(editorElement, "markdown:indent-list-item")
    #   expect(editor.getText()).toBe(': definition')

  # describe 'outdenting list-items', ->

    # TODO
    # outdent-list-item


    it 'indents a valid list-item', ->
      editor.setText('- item')
      editor.setCursorBufferPosition(0, 0)
      atom.commands.dispatch(editorElement, "markdown:indent-list-item")
      expect(editor.getText()).toBe('  - item')

