diff --git a/test/floatfuncs.jl b/test/floatfuncs.jl index 9b591c18a2ae1..83b5b966b891a 100644 --- a/test/floatfuncs.jl +++ b/test/floatfuncs.jl @@ -29,7 +29,7 @@ end @test maxintfloat() == maxintfloat(Float64) # isinteger -for elty in (Float16,Float32,Float64) +for elty in floattypes @test !isinteger(elty(1.2)) @test isinteger(elty(12)) @test isinteger(zero(elty))