Skip to content

Commit

Permalink
test: add visible symbols for test
Browse files Browse the repository at this point in the history
  • Loading branch information
kilatib committed Nov 6, 2024
1 parent cb8e536 commit 000c35c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/qtismtest/data/storage/xml/XmlUtilsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ public function testFindCustomNamespaces(): void

public function testValueAsStringReplaceSpecialSymbols(): void
{
$this->assertEquals("160\u{FFFD}", Utils::valueAsString("160"));
$this->assertEquals("160\u{FFFD}", Utils::valueAsString("160\u{0008}"));
}

public function testProcessSpecialCharsetWithoutError(): void
Expand Down Expand Up @@ -434,7 +434,7 @@ public function testProcessSpecialCharsetWithoutError(): void
</itemResult>
</assessmentResult>
');
$this->assertNotNull(Utils::findExternalNamespaces(sprintf($xml, Utils::valueAsString("160\b"))));
$this->assertNotNull(Utils::findExternalNamespaces(sprintf($xml, Utils::valueAsString("160\b\u{0008}"))));
}

public function testremoveAllButFirstOccurrence(): void
Expand Down

0 comments on commit 000c35c

Please sign in to comment.