Skip to content

Commit 1c45f91

Browse files
authored
Migrate FileFormats to new tests (#1436)
1 parent ef8e15f commit 1c45f91

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/FileFormats/NL/NL.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ function test_nlmodel_hs071()
305305
MOI.add_constraint.(model, MOI.SingleVariable.(v), MOI.LessThan.(u))
306306
MOI.set.(model, MOI.VariablePrimalStart(), v, start)
307307
lb, ub = [25.0, 40.0], [Inf, 40.0]
308-
evaluator = MOI.DeprecatedTest.HS071(true)
308+
evaluator = MOI.Test.HS071(true)
309309
block_data = MOI.NLPBlockData(MOI.NLPBoundsPair.(lb, ub), evaluator, true)
310310
MOI.set(model, MOI.NLPBlock(), block_data)
311311
MOI.set(model, MOI.ObjectiveSense(), MOI.MIN_SENSE)
@@ -455,7 +455,7 @@ function test_nlmodel_hs071_linear_obj()
455455
MOI.add_constraint(model, MOI.SingleVariable(v[3]), MOI.Integer())
456456
MOI.set.(model, MOI.VariablePrimalStart(), v, start)
457457
lb, ub = [25.0, 40.0], [Inf, 40.0]
458-
evaluator = MOI.DeprecatedTest.HS071(true)
458+
evaluator = MOI.Test.HS071(true)
459459
block_data = MOI.NLPBlockData(MOI.NLPBoundsPair.(lb, ub), evaluator, false)
460460
MOI.set(model, MOI.NLPBlock(), block_data)
461461
f = MOI.ScalarAffineFunction(MOI.ScalarAffineTerm.(l, v), 2.0)

0 commit comments

Comments
 (0)