Skip to content

Commit cab0d4f

Browse files
committed
even better test set names
1 parent e7b4b44 commit cab0d4f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/no_invalidations.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ function test_expr(f, supertype::Type = Integer)
5050
ThereAreNoInvalidations.there_are_no_invalidations(e)
5151
end
5252

53-
@testset "invalidations test set" begin
54-
@testset "primitive type construction" begin
53+
@testset "no invalidations test set" begin
54+
@testset "construction of old int types from new type" begin
5555
@test test_expr(n -> :(Base.Bool(::$n) = false))
5656
@test test_expr(n -> :(Base.Int8(::$n) = Int8(0))) broken=true
5757
@test test_expr(n -> :(Base.UInt8(::$n) = UInt8(0))) broken=true
@@ -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 with primitive types" begin
63+
@testset "arithmetic between old int types and new int type" 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,7 +76,7 @@ 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 with primitive types" begin
79+
@testset "promotion between old int types and new int type" 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))

0 commit comments

Comments
 (0)