You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Tests/OpenAPIKitErrorReportingTests/DocumentErrorTests.swift
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -44,7 +44,7 @@ final class DocumentErrorTests: XCTestCase {
44
44
45
45
letopenAPIError=OpenAPI.Error(from: error)
46
46
47
-
XCTAssertEqual(openAPIError.localizedDescription,"Inconsistency encountered when parsing `openapi` in the root Document object: Cannot initialize Version from invalid String value null.")
47
+
XCTAssertEqual(openAPIError.localizedDescription,"Inconsistency encountered when parsing `openapi` in the root Document object: Failed to parse Document Version null as one of OpenAPIKit's supported options.")
XCTAssertEqual(document.warnings.map{ $0.localizedDescription },["Document Version 3.100.100 is being decoded as version 3.1.1. Not all features of OAS 3.100.100 will be supported"])
0 commit comments