Skip to content

Commit b2bafaa

Browse files
authored
Update test/Bridges/bridge_optimizer.jl
1 parent 8a2b663 commit b2bafaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Bridges/bridge_optimizer.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1382,7 +1382,7 @@ function test_fallback_bridge_objective()
13821382
model = MOI.Utilities.Model{Float64}()
13831383
x = MOI.add_variable(model)
13841384
@test_throws(
1385-
MOI.UnsupportedAttribute(MOI.ObjectiveFunction{MOI.VariableIndex}(x)),
1385+
MOI.UnsupportedAttribute(MOI.ObjectiveFunction{MOI.VariableIndex}()),
13861386
MOI.Bridges.Objective.bridge_objective(EmptyObjectiveBridge, model, x),
13871387
)
13881388
return

0 commit comments

Comments
 (0)