Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
odow committed Oct 9, 2023
1 parent 9d7cac4 commit a076681
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/Bridges/bridge_optimizer.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1081,6 +1081,14 @@ function test_modify_constraint_scalar_quadratic_coefficient_change()
return
end

function test_show_modify_bridge_not_allowed()
x = MOI.VariableIndex(1)
change = MOI.ScalarQuadraticCoefficientChange(x, x, 2.0)
err = MOI.Bridges.ModifyBridgeNotAllowed(change)
@test occursin("cannot be performed", sprint(showerror, err))
return
end

end # module

TestBridgeOptimizer.runtests()

0 comments on commit a076681

Please sign in to comment.