aboutsummaryrefslogtreecommitdiffstats
path: root/Test
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2014-12-23 12:33:00 +0100
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2014-12-23 12:33:00 +0100
commit436e8043af9b8f3e218afd0e89e12a89d97cce4f (patch)
tree6cf16f99a1d9be33b7dbfd13fb4fd9c18ccf6edd /Test
parent2f875ea9e067b7d87d5405d985a9b554f6b4ea70 (diff)
downloadUstring-436e8043af9b8f3e218afd0e89e12a89d97cce4f.zip
Ustring-436e8043af9b8f3e218afd0e89e12a89d97cce4f.tar.gz
Ustring-436e8043af9b8f3e218afd0e89e12a89d97cce4f.tar.bz2
Use hexadecimal everywhere.
Diffstat (limited to 'Test')
-rw-r--r--Test/Unit/String.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Test/Unit/String.php b/Test/Unit/String.php
index 63186bc..7e5705c 100644
--- a/Test/Unit/String.php
+++ b/Test/Unit/String.php
@@ -772,7 +772,7 @@ class String extends Test\Unit\Suite {
->isEqualTo('ሇ')
// U+10000 to U+10FFFF
- ->when($result = LUT::fromCode(128169))
+ ->when($result = LUT::fromCode(0x1f4a9))
->then
->string($result)
->isEqualTo('💩');
@@ -803,7 +803,7 @@ class String extends Test\Unit\Suite {
->when($result = LUT::toCode('💩'))
->then
->integer($result)
- ->isEqualTo(128169);
+ ->isEqualTo(0x1f4a9);
}
public function case_to_binary_code ( ) {