Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
odow authored Nov 2, 2024
1 parent b29d8c9 commit aaec99c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/sets.jl
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ function runtests()
end

function test_interval_promote()
for S in [MOI.Interval, MOI.Semiinteger, MOI.Semicontinuous]
for S in (MOI.Interval, MOI.Semiinteger, MOI.Semicontinuous)
set = S(1.0, π)
@test set isa S{Float64}
@test set.lower == 1.0
Expand All @@ -374,6 +374,7 @@ function test_interval_promote()
@test set.lower == 1
@test set.upper == 2
end
return
end

end
Expand Down

0 comments on commit aaec99c

Please sign in to comment.