Skip to content

Commit daaad3c

Browse files
committed
Update
1 parent b801db6 commit daaad3c

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

Project.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ CodecBzip2 = "523fee87-0ab8-5b00-afb7-3ecf72e48cfd"
88
CodecZlib = "944b1d66-785c-5afd-91f1-9de20f533193"
99
DataStructures = "864edb3b-99cc-5e75-8d2d-829cb0a9cfe8"
1010
ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210"
11-
JSON = "682c06a0-de6a-54ab-a142-c8b1cf79cde6"
1211
JSON3 = "0f8b85d8-7281-11e9-16c2-39a750bddbf1"
1312
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
1413
MutableArithmetics = "d8a4904e-b15c-11e9-3269-09a3773c0cb0"
@@ -27,7 +26,6 @@ CodecBzip2 = "~0.6, 0.7, 0.8"
2726
CodecZlib = "~0.6, 0.7"
2827
DataStructures = "0.18"
2928
ForwardDiff = "0.5, 0.6, 0.7, 0.8, 0.9, 0.10"
30-
JSON = "~0.21"
3129
JSON3 = "1"
3230
JSONSchema = "1"
3331
LinearAlgebra = "<0.0.1, 1.6"

test/FileFormats/MOF/MOF.jl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@ const MOF = MOI.FileFormats.MOF
1717
const TEST_MOF_FILE = "test.mof.json"
1818

1919
const SCHEMA = JSONSchema.Schema(
20-
open(MOI.FileFormats.MOF.SCHEMA_PATH, "r") do io
21-
return JSON3.read(io, Dict{String,Any})
22-
end,
20+
JSON3.read(read(MOI.FileFormats.MOF.SCHEMA_PATH, String), Dict{String,Any}),
2321
)
2422

2523
function runtests()

0 commit comments

Comments
 (0)