 
         textView.selectedRange = textView.text.endOfStringNSRange()
         textView.toggleOrderedList(range: .zero)
-        XCTAssertEqual(textView.text, Constants.sampleText0 + "\n")
+        XCTAssertEqual(textView.text, Constants.sampleText0 + String(.newline))
 
         textView.selectedRange = textView.text.endOfStringNSRange()
         textView.deleteBackward()
         textView.insertText(Constants.sampleText1)
-
-        XCTAssertEqual(textView.text, Constants.sampleText0 + Constants.sampleText1 + "\n")
+        textView.insertText(String(.newline))
+
+        XCTAssertEqual(textView.text, Constants.sampleText0 + Constants.sampleText1 + String(.newline) + String(.newline))
     }
 
 
     // MARK: - Blockquotes
 
-
     /// Verifies that toggling a Blockquote, when editing an empty document, inserts a Newline.
     ///
     /// Input:

        let textView = createTextView(withHTML: "")

        textView.toggleOrderedList(range: .zero)
        XCTAssertEqual(textView.text, "\n")
    }

    /// Verifies that toggling an Ordered List, when editing the end of a non empty document, inserts a Newline.


        textView.selectedRange = textView.text.endOfStringNSRange()
        textView.toggleUnorderedList(range: .zero)
        XCTAssertEqual(textView.text, Constants.sampleText0 + String(.newline))

        textView.selectedRange = textView.text.endOfStringNSRange()
        textView.deleteBackward()
        textView.insertText(Constants.sampleText1)
        textView.insertText(String(.newline))

        XCTAssertEqual(textView.text, Constants.sampleText0 + Constants.sampleText1 + String(.newline) + String(.newline))
    }

    /// Verifies that toggling an Ordered List, when editing an empty document, inserts a Newline.
