We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a918a1c commit 33698edCopy full SHA for 33698ed
Tests/AWSLambdaEventsTests/Utils/DateWrapperTests.swift
@@ -64,13 +64,13 @@ struct DateWrapperTests {
64
65
let date = "2020-03-26T16:53:05Z" // missing fractional seconds
66
let json = #"{"date":"\#(date)"}"#
67
-#if swift(<6.2)
+ #if swift(<6.2)
68
let error = (any Error).self
69
-#else
+ #else
70
let error = Never.self
71
-#endif
+ #endif
72
#expect(throws: error) {
73
- try JSONDecoder().decode(TestEvent.self, from: json.data(using: .utf8)!)
+ try JSONDecoder().decode(TestEvent.self, from: json.data(using: .utf8)!)
74
}
75
76
0 commit comments