From 3cb025e6f9e3faf918ae637816765cc721a71c33 Mon Sep 17 00:00:00 2001 From: Omar Albeik Date: Mon, 21 Nov 2022 02:21:51 +0100 Subject: [PATCH] Fix broken test --- Tests/M3UKitTests/PlaylistParserTests.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/M3UKitTests/PlaylistParserTests.swift b/Tests/M3UKitTests/PlaylistParserTests.swift index 2e87b80..0ca9679 100644 --- a/Tests/M3UKitTests/PlaylistParserTests.swift +++ b/Tests/M3UKitTests/PlaylistParserTests.swift @@ -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)