Skip to content

Commit bf351cf

Browse files
committed
fix: Testing on Linux
1 parent 71e8a01 commit bf351cf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Tests/LinuxMain.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import XCTest
33

44

55
extension EncodeTests {
6-
static var allTests: [(String, (EncodeTests) -> Void throws -> Void)] {
6+
static var allTests: [(String, (EncodeTests) -> (Void) throws -> Void)] {
77
return [
88
("testEncodingJWT", testEncodingJWT),
99
("testEncodingWithBuilder", testEncodingWithBuilder),
@@ -12,7 +12,7 @@ extension EncodeTests {
1212
}
1313

1414
extension DecodeTests {
15-
static var allTests: [(String, (DecodeTests) -> Void throws -> Void)] {
15+
static var allTests: [(String, (DecodeTests) -> (Void) throws -> Void)] {
1616
return [
1717
("testDecodingValidJWT", testDecodingValidJWT),
1818
("testFailsToDecodeInvalidStringWithoutThreeSegments", testFailsToDecodeInvalidStringWithoutThreeSegments),
@@ -46,7 +46,7 @@ extension DecodeTests {
4646
}
4747

4848
extension PayloadTests {
49-
static var allTests: [(String, (PayloadTests) -> Void throws -> Void)] {
49+
static var allTests: [(String, (PayloadTests) -> (Void) throws -> Void)] {
5050
return [
5151
("testIssuer", testIssuer),
5252
("testAudience", testAudience),

0 commit comments

Comments
 (0)