Skip to content

Commit

Permalink
Use @testset syntax supported on 1.6+
Browse files Browse the repository at this point in the history
  • Loading branch information
Seelengrab committed Aug 12, 2023
1 parent ec0a90d commit aeca6c8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,9 @@ const numTypes = union(getSubtypes(Integer), getSubtypes(AbstractFloat))
@test RI.check_interface_implemented(PropCheck.ExtentIntegrated, num_ival)
end
@testset "Tear $T & reassemble, floating point generators" for T in getSubtypes(Base.IEEEFloat)
@testset assembleInf(T)
@testset "assembleInf" begin
assembleInf(T)
end
@test check(x -> floatTear(T, x), itype(T))
@test check(isinf, PropCheck.ifloatinf(T); transform=bitstring)
@test check(isnan, PropCheck.ifloatnan(T); transform=bitstring)
Expand Down

0 comments on commit aeca6c8

Please sign in to comment.