mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Fix OPMLParser bug. Tests now pass.
This commit is contained in:
@@ -73,7 +73,7 @@ private extension OPMLParser {
|
||||
return
|
||||
}
|
||||
|
||||
_ = itemStack.dropLast()
|
||||
itemStack.removeLast()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ class OPMLTests: XCTestCase {
|
||||
|
||||
func testOPMLParsingPerformance() {
|
||||
|
||||
// 0.002 sec on my 2012 iMac.
|
||||
// 0.003 sec on my M1 Mac Studio 2022
|
||||
self.measure {
|
||||
let _ = OPMLParser.document(with: self.subsData)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user