Add test for Atom authors. Currently failing.

This commit is contained in:
Brent Simmons 2017-12-19 13:03:35 -08:00
parent ccd87040c3
commit 0317196cf6

View File

@ -53,7 +53,7 @@ class AtomParserTests: XCTestCase {
XCTAssertTrue(article.uniqueID.hasPrefix("tag:daringfireball.net,2017:/"))
// XCTAssertEqual(article.authors!.count, 1) // TODO: parse Atom authors
XCTAssertEqual(article.authors!.count, 1) // TODO: parse Atom authors
XCTAssertNotNil(article.datePublished)
XCTAssert(article.attachments == nil)
@ -98,6 +98,5 @@ class AtomParserTests: XCTestCase {
XCTAssertNil(attachment.sizeInBytes)
XCTAssertEqual(attachment.mimeType!, "audio/mpeg")
}
}
}