       editor.setCursorBufferPosition([0, 69])
 
       editLine.trigger()
-      expect(editor.getText()).toBe """
-      > Your time is limited, so don’t waste it living someone else’s life.
-      > 
-      """ # last item with trailing whitespace
+      expect(editor.getText()).toBe [
+        "> Your time is limited, so don’t waste it living someone else’s life."
+        "> " # last item with trailing whitespace
+      ].join("\n")
 
     it "not continue after empty unordered task list line", ->
       editor.setText """

    it "does not affect normal new line", ->
      editor.setText "this is normal line"
      editor.setCursorBufferPosition([0, 4])
      
      editLine.trigger(event)
      expect(event.abortKeyBinding).toHaveBeenCalled()


      editor.setCursorBufferPosition([1, 19])

      editLine.trigger()
      expect(editor.getText()).toBe [
        "1. [ ] Epic Tasks"
        "  1. [X] Sub-task A"
        "  2. [ ] " # last item with trailing whitespace
      ].join("\n")

    it "continue after blockquote line", ->
      editor.setText """
