Skip to content

Commit

Permalink
Update test/test_MOI_wrapper.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
odow authored Mar 20, 2024
1 parent f18ab39 commit 9826f21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_MOI_wrapper.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2195,7 +2195,7 @@ end

function test_empty_constraint_attributes()
model = Xpress.Optimizer()
x, c = MOI.add_variable(model, MOI.GreaterThan(0.0))
x, c = MOI.add_constrained_variable(model, MOI.GreaterThan(0.0))
F, S = MOI.VariableIndex, MOI.GreaterThan{Float64}
ret = MOI.get(model, MOI.ListOfConstraintAttributesSet{F,S}())
@test ret == MOI.AbstractConstraintAttribute[]
Expand Down

0 comments on commit 9826f21

Please sign in to comment.