We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b75ba8 commit 259b10bCopy full SHA for 259b10b
1 file changed
test/FileFormats/MOF/MOF.jl
@@ -43,7 +43,7 @@ function _validate(filename::String)
43
"r",
44
MOI.FileFormats.AutomaticCompression(),
45
) do io
46
- object = JSON.parse(io, Dict{String,Any})
+ object = JSON.parse(io; dicttype = Dict{String,Any})
47
ret = JSONSchema.validate(SCHEMA, object)
48
if ret !== nothing
49
error(
@@ -1568,7 +1568,7 @@ function test_use_nlp_block()
1568
io = IOBuffer()
1569
write(io, model)
1570
seekstart(io)
1571
1572
@test object["has_scalar_nonlinear"] == true
1573
@test JSONSchema.validate(SCHEMA, object) === nothing
1574
# Test (; use_nlp_block = nothing)
0 commit comments