Skip to content

Commit

Permalink
Test codepoint from char (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
mlocati authored Nov 5, 2023
1 parent c92ddb8 commit 4232cbb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/tests/CodepointEnumTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,8 @@ private function testInfo(BackedEnum $case, ?BackedEnum $previousCase, ?Block $b
$this->assertNotSame(Category::Surrogate, $info->category);
$categoryInfo = CategoryInfo::from($info->category);
$this->assertSame([], $categoryInfo->childCategories);
$this->assertSame(1, mb_strlen($case->value));
$this->assertSame($info->id, mb_ord($case->value));
if ($block === null) {
$this->assertInstanceOf(Codepoint::class, $case);
$this->assertInstanceOf(Block::class, $info->block);
Expand Down

0 comments on commit 4232cbb

Please sign in to comment.