Skip to content

Commit 9f93604

Browse files
committed
Removed iOS16 only API.
1 parent 54fe648 commit 9f93604

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/FaviconFinderTests/FaviconFinderTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ struct FaviconFinderTests {
144144
faviconFinder.cancel()
145145

146146
// Wait a couple seconds
147-
try await Task.sleep(for: .seconds(2))
147+
try await Task.sleep(nanoseconds: 2 * 1_000_000_000)
148148

149149
// We got a CancellationError, meaning that we got a cancellation, yay
150150
#expect(caughtError is CancellationError)

0 commit comments

Comments
 (0)