           |QWERT
           """
         ensure 'u',
-          textC: """
-          12345
-          |abcde
-          ABCDE
-          QWERT
-          """
+          textC: initialTextC
           selectedText: ""
 
       describe "with multiple cursors", ->

          cursor: [0, 2]

    describe "undo behavior", ->
      originalText = null

      beforeEach ->
        set
          textC: """
          12345
          a|bcde
          ABCDE
          QWERT
          """

        originalText = editor.getText()

      it "undoes both lines", ->

              selectedText: ''

        describe "setCursorToStartOfChangeOnUndoRedo is false", ->
          initialTextC = null

          beforeEach ->
            initialTextC = """
              |12345
              a|bcde
              ABCDE
              QWERT
              """

            settings.set('setCursorToStartOfChangeOnUndoRedo', false)
            set textC: initialTextC
            ensure 'd l',
