Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
odow committed Nov 26, 2023
1 parent 7ceef93 commit be375c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_variable.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1584,7 +1584,7 @@ function test_bad_bound_types()
@test_throws err(v, "fixed value", T) @variable(model, x == v)
@test_throws err(v, "start value", T) @variable(model, x, start = v)
end
function err(value, msg, T)
function err2(value, msg, T)
return ErrorException(
"Unable to use `$value::$(typeof(value))` as the $msg of a variable. " *
"The $msg must be a constant value of type `::$T`. You cannot use " *
Expand Down

0 comments on commit be375c3

Please sign in to comment.