@@ -176,7 +176,8 @@ function _test_structural_identical(
176
176
constraints = Dict {Any,Any} ()
177
177
a_constraint_types = MOI. get (a, MOI. ListOfConstraintTypesPresent ())
178
178
b_constraint_types = MOI. get (b, MOI. ListOfConstraintTypesPresent ())
179
- Test. @testset " get $F and $S " for (F, S) in a_constraint_types
179
+ _name (F, S) = MOI. Utilities. _drop_moi (" $F -in-$S " )
180
+ Test. @testset " get $(_name (F, S)) " for (F, S) in a_constraint_types
180
181
Test. @test MOI. supports_constraint (a, F, S)
181
182
constraints[(F, S)] =
182
183
map (MOI. get (a, MOI. ListOfConstraintIndices {F,S} ())) do ci
@@ -190,7 +191,7 @@ function _test_structural_identical(
190
191
Test. @test (F, S) in b_constraint_types ||
191
192
MOI. get (a, MOI. NumberOfConstraints {F,S} ()) == 0
192
193
end # COV_EXCL_LINE
193
- Test. @testset " $F -in- $S " for (F, S) in b_constraint_types
194
+ Test. @testset " $( _name (F, S)) " for (F, S) in b_constraint_types
194
195
Test. @test haskey (constraints, (F, S))
195
196
# Check that the same number of constraints are present
196
197
Test. @test MOI. get (a, MOI. NumberOfConstraints {F,S} ()) ==
0 commit comments