Fix OPMLParser bug. Tests now pass.

This commit is contained in:
Brent Simmons
2024-08-27 09:16:41 -07:00
parent 22ab6af28d
commit ec2c294fab
2 changed files with 2 additions and 2 deletions

View File

@@ -73,7 +73,7 @@ private extension OPMLParser {
return
}
_ = itemStack.dropLast()
itemStack.removeLast()
}
}

View File

@@ -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)
}