Skip to content

Commit

Permalink
make two small changes to get tests compiling without warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
mattpolzin committed Sep 11, 2020
1 parent e4b7a24 commit 5130d88
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 2 deletions.
27 changes: 27 additions & 0 deletions Package.resolved
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
{
"object": {
"pins": [
{
"package": "FineJSON",
"repositoryURL": "https://github.com/omochi/FineJSON.git",
"state": {
"branch": null,
"revision": "05101709243cb66d80c92e645210a3b80cf4e17f",
"version": "1.14.0"
}
},
{
"package": "OpenAPIKit",
"repositoryURL": "https://github.com/mattpolzin/OpenAPIKit.git",
Expand All @@ -10,6 +19,15 @@
"version": "2.0.0-alpha.4"
}
},
{
"package": "RichJSONParser",
"repositoryURL": "https://github.com/omochi/RichJSONParser.git",
"state": {
"branch": null,
"revision": "263e2ecfe88d0500fa99e4cbc8c948529d335534",
"version": "3.0.0"
}
},
{
"package": "Sampleable",
"repositoryURL": "https://github.com/mattpolzin/Sampleable.git",
Expand All @@ -18,6 +36,15 @@
"revision": "df44bf1a860481109dcf455e3c6daf0a0f1bc259",
"version": "2.1.0"
}
},
{
"package": "Yams",
"repositoryURL": "https://github.com/jpsim/Yams.git",
"state": {
"branch": null,
"revision": "81a65c4069c28011ee432f2858ba0de49b086677",
"version": "3.0.1"
}
}
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ extension GenericOpenAPISchemaTests {
self.val = val
}

init?(rawValue: Self.RawValue) {
init?(rawValue: String) {
self.val = rawValue
}
}
Expand Down
2 changes: 1 addition & 1 deletion Tests/OpenAPIReflectionTests/TestHelpers.swift
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func assertJSONEquivalent(_ str1: String?, _ str2: String?, file: StaticString =
XCTAssertEqual(
str1,
str2,
file: file,
file: (file),
line: line
)
}

0 comments on commit 5130d88

Please sign in to comment.