Skip to content

Commit f5a1006

Browse files
committed
better test set names
1 parent 74d9d7c commit f5a1006

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/no_invalidations.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ end
6060
@test test_expr(n -> :(Base.Int(::$n) = 0)) broken=true
6161
@test test_expr(n -> :(Base.UInt(::$n) = 0x0)) broken=true
6262
end
63-
@testset "arithmetic" begin
63+
@testset "arithmetic with primitive types" begin
6464
@test test_expr(n -> :(Base.:(+)(::$n, m::Bool) = m))
6565
@test test_expr(n -> :(Base.:(+)(m::Bool, ::$n) = m))
6666
@test test_expr(n -> :(Base.:(+)(::$n, m::Int8) = m))
@@ -76,13 +76,13 @@ end
7676
@test test_expr(n -> :(Base.:(+)(::$n, m::UInt) = m))
7777
@test test_expr(n -> :(Base.:(+)(m::UInt, ::$n) = m))
7878
end
79-
@testset "promotion" begin
79+
@testset "promotion with primitive types" begin
8080
@test (
8181
test_expr(n -> :(Base.promote_rule(::Type{Bool}, ::Type{$n}) = Bool)) &&
8282
test_expr(n -> :(Base.promote_rule(::Type{$n}, ::Type{Bool}) = Bool))
8383
) broken=true
8484
end
85-
@testset "misc" begin
85+
@testset "unary functions" begin
8686
@test test_expr(n -> :(Base.zero(::$n) = $n())) broken=true
8787
@test test_expr(n -> :(Base.one(::$n) = $n())) broken=true
8888
end

0 commit comments

Comments
 (0)