Skip to content

Commit

Permalink
Fix ErrorTests.testInvalidStream()
Browse files Browse the repository at this point in the history
  • Loading branch information
waliid committed Dec 11, 2024
1 parent 3934600 commit 4f7cf6c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Tests/PlayerTests/Player/ErrorTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,9 @@ final class ErrorTests: TestCase {

func testInvalidStream() {
let player = Player(item: .simple(url: Stream.unavailable.url))
expectEqualPublishedNext(
expectAtLeastEqualPublishedNext(
values: [.init(rawValue: NSURLErrorFileDoesNotExist)],
from: Self.errorCodePublisher(for: player),
during: .seconds(1)
from: Self.errorCodePublisher(for: player)
)
}

Expand Down

0 comments on commit 4f7cf6c

Please sign in to comment.