mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2024-12-25 09:11:13 +01:00
Add test for Atom authors. Currently failing.
This commit is contained in:
parent
ccd87040c3
commit
0317196cf6
@ -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")
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user