Skip to content

Commit a9e0c6b

Browse files
committed
Update old test
1 parent 836bc2e commit a9e0c6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/model_parsing.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ end
263263
@test getdefault(model.cval) == 1
264264
@test isequal(getdefault(model.c), model.cval + model.jval)
265265
@test getdefault(model.d) == 2
266-
@test_throws KeyError getdefault(model.e)
266+
@test_throws ErrorException getdefault(model.e)
267267
@test getdefault(model.f) == 3
268268
@test getdefault(model.i) == 4
269269
@test all(getdefault.(scalarize(model.b2)) .== [1, 3])

0 commit comments

Comments
 (0)