Skip to content
This repository has been archived by the owner on Jun 15, 2024. It is now read-only.

Commit

Permalink
Fix broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
omaralbeik committed Nov 21, 2022
1 parent 8f76f09 commit 3cb025e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/M3UKitTests/PlaylistParserTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ final class PlaylistParserTests: XCTestCase {
func testParsingMediaKind() {
let parser = PlaylistParser()

XCTAssertEqual(parser.parseMediaKind(URL(string: "test.com/movies/123456")!), .movie)
XCTAssertEqual(parser.parseMediaKind(URL(string: "test.com/movie/123456")!), .movie)
XCTAssertEqual(parser.parseMediaKind(URL(string: "test.com/live/123456")!), .live)
XCTAssertEqual(parser.parseMediaKind(URL(string: "test.com/series/123456")!), .series)
XCTAssertEqual(parser.parseMediaKind(URL(string: "test.com/123456")!), .unknown)
Expand Down

0 comments on commit 3cb025e

Please sign in to comment.