               selectedText: ''
 
         describe "setCursorToStartOfChangeOnUndoRedo is false", ->
-          initialTextC = """
-            |12345
-            a|bcde
-            ABCDE
-            QWERT
-            """
+          initialTextC = null
 
           beforeEach ->
+            initialTextC = """
+              |12345
+              a|bcde
+              ABCDE
+              QWERT
+              """
+
             settings.set('setCursorToStartOfChangeOnUndoRedo', false)
             set textC: initialTextC
             ensure 'd l',

          cursor: [0, 2]

    describe "undo behavior", ->
      originalText = null

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

        originalText = editor.getText()

      it "undoes both lines", ->

          |QWERT
          """
        ensure 'u',
          textC: initialTextC
          selectedText: ""

      describe "with multiple cursors", ->
