Skip to content

Commit

Permalink
Fix testXMLBindingsWork
Browse files Browse the repository at this point in the history
  • Loading branch information
larryonoff committed Apr 24, 2019
1 parent 3490f58 commit e6bf581
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/BindingTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class BindingTests: XCTestCase {
func testXMLBindingsWork() {
let xml = try? down.toXML()
XCTAssertNotNil(xml)
XCTAssertTrue(xml == "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE document SYSTEM \"CommonMark.dtd\">\n<document xmlns=\"http://commonmark.org/xml/1.0\">\n <heading level=\"2\">\n <link destination=\"https://github.com/iwasrobbed/Down\" title=\"\">\n <text>Down</text>\n </link>\n </heading>\n</document>\n")
XCTAssertTrue(xml == "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE document SYSTEM \"CommonMark.dtd\">\n<document xmlns=\"http://commonmark.org/xml/1.0\">\n <heading level=\"2\">\n <link destination=\"https://github.com/iwasrobbed/Down\" title=\"\">\n <text xml:space=\"preserve\">Down</text>\n </link>\n </heading>\n</document>\n")
}

func testGroffBindingsWork() {
Expand Down

0 comments on commit e6bf581

Please sign in to comment.