File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -241,7 +241,7 @@ function test_errors_ModifyNotAllowed_constraint()
241241 err = MOI. ModifyConstraintNotAllowed (ci, change)
242242 @test_throws err MOI. modify (model, ci, change)
243243 contents = sprint (showerror, err)
244- @test occursin (" $(typeof (err)) :" contents)
244+ @test occursin (" $(typeof (err)) :" , contents)
245245 @test occursin (" Modifying the constraints $ci " , contents)
246246 @test occursin (" ## Fixing this error" , contents)
247247 return
@@ -254,7 +254,7 @@ function test_errors_ModifyNotAllowed_objective()
254254 err = MOI. ModifyObjectiveNotAllowed (change)
255255 @test_throws err MOI. modify (model, attr, change)
256256 contents = sprint (showerror, err)
257- @test occursin (" $(typeof (err)) :" contents)
257+ @test occursin (" $(typeof (err)) :" , contents)
258258 @test occursin (" Modifying the objective function with $change " , contents)
259259 @test occursin (" ## Fixing this error" , contents)
260260 return
You can’t perform that action at this time.
0 commit comments