diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-11-19 13:41:52 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-11-19 13:41:52 -0500 |
| commit | 2c904ff1737e34008f7a6c5d4b072d87a45a3fbc (patch) | |
| tree | ac4c430677042a7ea92b92be5e5afa6e5a4ef27d /test/text.tm | |
| parent | 4720ca7a5f3ad4bf2a04a6d28d671f03162149a9 (diff) | |
Go back to stringifying integers/num32s/bytes without the type
constructor.
Diffstat (limited to 'test/text.tm')
| -rw-r--r-- | test/text.tm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/text.tm b/test/text.tm index 173432ec..45d5c28f 100644 --- a/test/text.tm +++ b/test/text.tm @@ -29,9 +29,9 @@ func main(): >> amelie:split() = ["A", "m", "é", "l", "i", "e"] : [Text] >> amelie:utf32_codepoints() - = [Int32(65), Int32(109), Int32(233), Int32(108), Int32(105), Int32(101)] + = [65, 109, 233, 108, 105, 101] >> amelie:bytes() - = [Byte(0x41), Byte(0x6D), Byte(0xC3), Byte(0xA9), Byte(0x6C), Byte(0x69), Byte(0x65)] + = [0x41, 0x6D, 0xC3, 0xA9, 0x6C, 0x69, 0x65] >> Text.from_bytes([:Byte 0x41, 0x6D, 0xC3, 0xA9, 0x6C, 0x69, 0x65])! = "Amélie" >> Text.from_bytes([Byte(0xFF)]) @@ -41,9 +41,9 @@ func main(): >> amelie2:split() = ["A", "m", "é", "l", "i", "e"] : [Text] >> amelie2:utf32_codepoints() - = [Int32(65), Int32(109), Int32(233), Int32(108), Int32(105), Int32(101)] + = [65, 109, 233, 108, 105, 101] >> amelie2:bytes() - = [Byte(0x41), Byte(0x6D), Byte(0xC3), Byte(0xA9), Byte(0x6C), Byte(0x69), Byte(0x65)] + = [0x41, 0x6D, 0xC3, 0xA9, 0x6C, 0x69, 0x65] >> amelie:codepoint_names() = ["LATIN CAPITAL LETTER A", "LATIN SMALL LETTER M", "LATIN SMALL LETTER E WITH ACUTE", "LATIN SMALL LETTER L", "LATIN SMALL LETTER I", "LATIN SMALL LETTER E"] @@ -216,7 +216,7 @@ func main(): >> house:codepoint_names() = ["CJK Unified Ideographs-5BB6"] >> house:utf32_codepoints() - = [Int32(23478)] + = [23478] >> "🐧":codepoint_names() = ["PENGUIN"] |
