diff options
author | Ivan Enderlin <ivan.enderlin@hoa-project.net> | 2014-12-23 12:33:00 +0100 |
---|---|---|
committer | Ivan Enderlin <ivan.enderlin@hoa-project.net> | 2014-12-23 12:33:00 +0100 |
commit | 436e8043af9b8f3e218afd0e89e12a89d97cce4f (patch) | |
tree | 6cf16f99a1d9be33b7dbfd13fb4fd9c18ccf6edd /Test | |
parent | 2f875ea9e067b7d87d5405d985a9b554f6b4ea70 (diff) | |
download | Ustring-436e8043af9b8f3e218afd0e89e12a89d97cce4f.zip Ustring-436e8043af9b8f3e218afd0e89e12a89d97cce4f.tar.gz Ustring-436e8043af9b8f3e218afd0e89e12a89d97cce4f.tar.bz2 |
Use hexadecimal everywhere.
Diffstat (limited to 'Test')
-rw-r--r-- | Test/Unit/String.php | 4 |
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 ( ) { |