Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
odow authored Nov 1, 2024
1 parent 44d6b8a commit 33f4c2e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/MOI/MOI_callbacks.jl
Original file line number Diff line number Diff line change
Expand Up @@ -472,9 +472,9 @@ function test_CallbackFunction_callback_LazyConstraint()
@test Gurobi.GRB_CB_MIPSOL in cb_calls
attrs = MOI.get(model, MOI.ListOfModelAttributesSet())
@test Gurobi.CallbackFunction() in attrs
MOI.set(model, MOI.CallbackFunction(), nothing)
MOI.set(model, Gurobi.CallbackFunction(), nothing)
attrs = MOI.get(model, MOI.ListOfModelAttributesSet())
@test !(MOI.CallbackFunction() in attrs)
@test !(Gurobi.CallbackFunction() in attrs)
return
end

Expand Down

0 comments on commit 33f4c2e

Please sign in to comment.