diff --git a/test/error.jl b/test/error.jl index c7b6ce3..8707f46 100644 --- a/test/error.jl +++ b/test/error.jl @@ -35,8 +35,8 @@ GDAL.gdalinfooptionsnew(["-novalidoption"], C_NULL) catch err @test err.class === GDAL.CE_Failure - @test err.code === Cint(6) - @test err.msg === "Unknown option name '-novalidoption'" + @test err.code === Cint(1) + @test err.msg === "Unknown argument: -novalidoption" end @testset "Cstring handling" begin