mirror of
https://github.com/yattee/yattee.git
synced 2025-08-05 02:04:07 +00:00
Fix channels URL parsing
This commit is contained in:
@@ -55,6 +55,7 @@ final class URLParserTests: XCTestCase {
|
||||
let parser = URLParser(url: URL(string: url)!)
|
||||
XCTAssertEqual(parser.destination, .channel)
|
||||
XCTAssertEqual(parser.channelName, name)
|
||||
XCTAssertNil(parser.channelID)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -63,6 +64,7 @@ final class URLParserTests: XCTestCase {
|
||||
let parser = URLParser(url: URL(string: url)!)
|
||||
XCTAssertEqual(parser.destination, .channel)
|
||||
XCTAssertEqual(parser.channelID, id)
|
||||
XCTAssertNil(parser.channelName)
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user