From c9391dd2992a9169ad9ff19b1135e0ef9d5f094b Mon Sep 17 00:00:00 2001 From: Alinson S Xavier Date: Thu, 1 Jul 2021 14:11:06 -0500 Subject: [PATCH] Update JSONSchema --- Project.toml | 2 +- test/instance/parse_test.jl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Project.toml b/Project.toml index 2f427ee..9f06c45 100644 --- a/Project.toml +++ b/Project.toml @@ -35,7 +35,7 @@ DataStructures = "0.17" GZip = "0.5" Geodesy = "0.5" JSON = "0.21" -JSONSchema = "0.2" +JSONSchema = "0.3" JuMP = "0.21" MathOptInterface = "0.9" PackageCompiler = "1" diff --git a/test/instance/parse_test.jl b/test/instance/parse_test.jl index a3da6ca..1704320 100644 --- a/test/instance/parse_test.jl +++ b/test/instance/parse_test.jl @@ -82,5 +82,5 @@ end @testset "parse (invalid)" begin basedir = dirname(@__FILE__) - @test_throws String RELOG.parsefile("$basedir/../fixtures/s1-wrong-length.json") + @test_throws ErrorException RELOG.parsefile("$basedir/../fixtures/s1-wrong-length.json") end