Skip to content

Commit 871177b

Browse files
authored
Update test/Utilities/mockoptimizer.jl
1 parent 49931fc commit 871177b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/Utilities/mockoptimizer.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ function test_optimizer_solve_with_result()
115115
ErrorException(
116116
"No mock primal is set for variable `$(v[1])` at result index `2`.",
117117
),
118+
MOI.get(optimizer, MOI.ConstraintPrimal(2), c1),
118119
)
119120
@test_throws(
120121
ErrorException(

0 commit comments

Comments
 (0)