 
         ensure "escape u",
           mode: 'normal',
-          text: originalText
+          text: textOriginal
 
       it "clear overwritten state and undo grouping on mode shift", ->
         set cursor: [2, 6]
         ensureMove = getEnsureWithOptions({mode: ['visual', 'blockwise'], selectedTextOrdered})
         ensureMove "ctrl-v 3 j 9 l",
-          text: originalText
+          text: textOriginal
 
         ensureMove "down 2 right", text: """
           01234567890123456789012

          |IJKLMNOP|
          +--------+
          """.split("\n")
        originalText = editor.getText()

      it "move block of text", ->
        set cursor: [2, 6]
        ensureMove = getEnsureWithOptions({mode: ['visual', 'blockwise'], selectedTextOrdered})
        ensureMove "ctrl-v 3 j 9 l", text: originalText
        ensureMove "down", text: """
          01234567890123456789012
          90123456789012345678901


  describe "duplicate right/left", ->
    describe "linewise", ->
      textOriginal = null
      beforeEach ->
        textOriginal = """
          0 |_
          1 midle |_
          2 very long |_

          """
        set
          text: textOriginal
          cursor: [0, 0]

      describe "overwrite: false", ->
