Skip to content

Commit 5757012

Browse files
authored
Test show for ∘ (#36009)
1 parent 8184684 commit 5757012

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/operators.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,9 @@ Base.promote_rule(::Type{T19714}, ::Type{Int}) = T19714
135135
@test (FreeMagma(1), FreeMagma(2), FreeMagma(3), FreeMagma(4)) === FreeMagma((((1,2), 3), 4))
136136

137137
@test fieldtypes(typeof(Float64 Int)) == (Type{Float64}, Type{Int})
138+
139+
@test repr(uppercase first) == "uppercase ∘ first"
140+
@test sprint(show, "text/plain", uppercase first) == "uppercase ∘ first"
138141
end
139142

140143
@testset "function negation" begin

0 commit comments

Comments
 (0)