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 9a81327 commit 344be60Copy full SHA for 344be60
test/datasets.jl
@@ -89,9 +89,10 @@ end
89
end
90
# But a bad type is not okay
91
let d = Dict(d0()..., "versions" => 0)
92
- @test_throws JuliaHub.JuliaHubError(
93
- "Invalid JSON returned by the server: `versions` of type `Int64`, expected `<: Vector`."
94
- ) JuliaHub.Dataset(d)
+ e = @test_throws JuliaHub.JuliaHubError JuliaHub.Dataset(d)
+ @test startswith(
+ e.value.msg, "Invalid JSON returned by the server: `versions` of type `Int64`"
95
+ )
96
97
98
0 commit comments