From 2c904ff1737e34008f7a6c5d4b072d87a45a3fbc Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Tue, 19 Nov 2024 13:41:52 -0500 Subject: Go back to stringifying integers/num32s/bytes without the type constructor. --- test/text.tm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'test/text.tm') 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"] -- cgit v1.2.3