Skip to content

Commit

Permalink
Few more tests for AbstractChar (#56249)
Browse files Browse the repository at this point in the history
  • Loading branch information
kshyatt authored Oct 20, 2024
1 parent 877de98 commit e08280a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/char.jl
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,10 @@ Base.codepoint(c::ASCIIChar) = reinterpret(UInt8, c)
@test string(ASCIIChar('x')) == "x"
@test length(ASCIIChar('x')) == 1
@test !isempty(ASCIIChar('x'))
@test ndims(ASCIIChar('x')) == 0
@test ndims(ASCIIChar) == 0
@test firstindex(ASCIIChar('x')) == 1
@test lastindex(ASCIIChar('x')) == 1
@test eltype(ASCIIChar) == ASCIIChar
@test_throws MethodError write(IOBuffer(), ASCIIChar('x'))
@test_throws MethodError read(IOBuffer('x'), ASCIIChar)
Expand Down

2 comments on commit e08280a

@nanosoldier
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Executing the daily package evaluation, I will reply here when finished:

@nanosoldier runtests(isdaily = true)

@nanosoldier
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The package evaluation job you requested has completed - possible new issues were detected.
The full report is available.

Please sign in to comment.