File tree 1 file changed +2
-2
lines changed
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()
241
241
err = MOI. ModifyConstraintNotAllowed (ci, change)
242
242
@test_throws err MOI. modify (model, ci, change)
243
243
contents = sprint (showerror, err)
244
- @test occursin (" $(typeof (err)) :" contents)
244
+ @test occursin (" $(typeof (err)) :" , contents)
245
245
@test occursin (" Modifying the constraints $ci " , contents)
246
246
@test occursin (" ## Fixing this error" , contents)
247
247
return
@@ -254,7 +254,7 @@ function test_errors_ModifyNotAllowed_objective()
254
254
err = MOI. ModifyObjectiveNotAllowed (change)
255
255
@test_throws err MOI. modify (model, attr, change)
256
256
contents = sprint (showerror, err)
257
- @test occursin (" $(typeof (err)) :" contents)
257
+ @test occursin (" $(typeof (err)) :" , contents)
258
258
@test occursin (" Modifying the objective function with $change " , contents)
259
259
@test occursin (" ## Fixing this error" , contents)
260
260
return
You can’t perform that action at this time.
0 commit comments