Skip to content

Commit aaec99c

Browse files
authored
Apply suggestions from code review
1 parent b29d8c9 commit aaec99c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/sets.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ function runtests()
364364
end
365365

366366
function test_interval_promote()
367-
for S in [MOI.Interval, MOI.Semiinteger, MOI.Semicontinuous]
367+
for S in (MOI.Interval, MOI.Semiinteger, MOI.Semicontinuous)
368368
set = S(1.0, π)
369369
@test set isa S{Float64}
370370
@test set.lower == 1.0
@@ -374,6 +374,7 @@ function test_interval_promote()
374374
@test set.lower == 1
375375
@test set.upper == 2
376376
end
377+
return
377378
end
378379

379380
end

0 commit comments

Comments
 (0)