Skip to content

Commit 5f6907e

Browse files
committed
Fixing unit test build error on Linux.
1 parent 0a3e735 commit 5f6907e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/JWTTests/JWTTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ class IntegrationTests: XCTestCase {
374374

375375
let expectation = XCTestExpectation(description: "Verification should fail.")
376376
do {
377-
let _ = try JWT.decode(token, algorithm: .none)
377+
let _ = try JWT.decode(token, algorithm: .none, leeway: 0)
378378
XCTFail("InvalidToken error should have been thrown.")
379379
} catch is InvalidToken {
380380
expectation.fulfill()

0 commit comments

Comments
 (0)