Skip to content

Commit 56c32f4

Browse files
authored
Apply suggestions from code review
1 parent d65e971 commit 56c32f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Bridges/Bridges.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ function _test_structural_identical(
178178
Test.@test (F, S) in b_constraint_types || MOI.get(a, attr) == 0
179179
end
180180
for (F, S) in b_constraint_types
181-
@test haskey(constraints, (F, S))
181+
Test.@test haskey(constraints, (F, S))
182182
# Check that the same number of constraints are present
183183
attr = MOI.NumberOfConstraints{F,S}()
184184
Test.@test MOI.get(a, attr) == MOI.get(b, attr)
@@ -396,7 +396,7 @@ function _test_delete(Bridge, model, inner)
396396
MOI.delete.(model, MOI.get(model, MOI.ListOfConstraintIndices{F,S}()))
397397
end
398398
# * So now there should be no constraints in the problem
399-
@test isempty(MOI.get(inner, MOI.ListOfConstraintTypesPresent()))
399+
Test.@test isempty(MOI.get(inner, MOI.ListOfConstraintTypesPresent()))
400400
# * And there should be the same number of variables
401401
attr = MOI.NumberOfVariables()
402402
Test.@test MOI.get(inner, attr) == MOI.get(model, attr)

0 commit comments

Comments
 (0)