Skip to content

Commit 708c7a7

Browse files
committed
Correct misspelled unit test method name
1 parent 4b83583 commit 708c7a7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Tests/JWTTests/JWTDecodeTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class DecodeTests: XCTestCase {
4747
XCTAssertThrowsError(try decode(jwt, algorithm: .hs256("secret".data(using: .utf8)!)))
4848
}
4949

50-
func testInvalidExpiaryClaim() {
50+
func testInvalidExpiryClaim() {
5151
let jwt = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOlsiMTQyODE4ODQ5MSJdfQ.OwF-wd3THjxrEGUhh6IdnNhxQZ7ydwJ3Z6J_dfl9MBs"
5252
XCTAssertThrowsError(try decode(jwt, algorithm: .hs256("secret".data(using: .utf8)!)))
5353
}

Tests/LinuxMain.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ extension DecodeTests {
5454
("testIncorrectIssuerValidation", testIncorrectIssuerValidation),
5555
("testMissingIssuerValidation", testMissingIssuerValidation),
5656
("testExpiredClaim", testExpiredClaim),
57-
("testInvalidExpiaryClaim", testInvalidExpiaryClaim),
57+
("testInvalidExpiryClaim", testInvalidExpiryClaim),
5858
("testUnexpiredClaim", testUnexpiredClaim),
5959
("testUnexpiredClaimString", testUnexpiredClaimString),
6060
("testNotBeforeClaim", testNotBeforeClaim),

0 commit comments

Comments
 (0)