Skip to content

Commit 259b10b

Browse files
committed
Update
1 parent 3b75ba8 commit 259b10b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/FileFormats/MOF/MOF.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ function _validate(filename::String)
4343
"r",
4444
MOI.FileFormats.AutomaticCompression(),
4545
) do io
46-
object = JSON.parse(io, Dict{String,Any})
46+
object = JSON.parse(io; dicttype = Dict{String,Any})
4747
ret = JSONSchema.validate(SCHEMA, object)
4848
if ret !== nothing
4949
error(
@@ -1568,7 +1568,7 @@ function test_use_nlp_block()
15681568
io = IOBuffer()
15691569
write(io, model)
15701570
seekstart(io)
1571-
object = JSON.parse(io, Dict{String,Any})
1571+
object = JSON.parse(io; dicttype = Dict{String,Any})
15721572
@test object["has_scalar_nonlinear"] == true
15731573
@test JSONSchema.validate(SCHEMA, object) === nothing
15741574
# Test (; use_nlp_block = nothing)

0 commit comments

Comments
 (0)