Skip to content

Commit

Permalink
Fix glitch in test (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
zengjian-hu-rai authored Sep 25, 2023
1 parent a71268a commit 085d2ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/examples/nqueens_solveall.jl
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ function test_nqueens_num_solutions_throw()
for value in (-1, 0, 1.1, "two")
@test_throws(
MOI.SetAttributeNotAllowed,
MOI.set(model, MOI.RawOptimizerAttribute("num_solutions"), -1),
MOI.set(model, MOI.RawOptimizerAttribute("num_solutions"), value),
)
end
return
Expand Down

0 comments on commit 085d2ad

Please sign in to comment.