Skip to content

Commit 0609463

Browse files
committed
Avoid rem tests on earlier Julia versions
1 parent 58e6bf3 commit 0609463

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/unittests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1319,7 +1319,7 @@ end
13191319
@eval @test $f($qx_dimensionless, $y) $Q($f($x, $y), $D)
13201320
@eval @test_throws DimensionError $f($qx_dimensions, $y)
13211321
@eval @test_throws DimensionError $f($x, $qy_dimensions)
1322-
if f == :rem
1322+
if f == :rem && VERSION >= v"1.9"
13231323
# Can also do other rounding modes
13241324
for r in (:RoundFromZero, :RoundNearest, :RoundUp, :RoundDown)
13251325
@eval @test $f($qx_dimensions, $qy_dimensions, $r) $Q($f($x, $y, $r), $dim)

0 commit comments

Comments
 (0)