From 4720ca7a5f3ad4bf2a04a6d28d671f03162149a9 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Tue, 19 Nov 2024 13:30:45 -0500 Subject: Rename `Text.utf8_bytes` back to `Text.bytes` --- test/text.tm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test') diff --git a/test/text.tm b/test/text.tm index cf95878e..173432ec 100644 --- a/test/text.tm +++ b/test/text.tm @@ -30,7 +30,7 @@ func main(): = ["A", "m", "é", "l", "i", "e"] : [Text] >> amelie:utf32_codepoints() = [Int32(65), Int32(109), Int32(233), Int32(108), Int32(105), Int32(101)] - >> amelie:utf8_bytes() + >> amelie:bytes() = [Byte(0x41), Byte(0x6D), Byte(0xC3), Byte(0xA9), Byte(0x6C), Byte(0x69), Byte(0x65)] >> Text.from_bytes([:Byte 0x41, 0x6D, 0xC3, 0xA9, 0x6C, 0x69, 0x65])! = "Amélie" @@ -42,7 +42,7 @@ func main(): = ["A", "m", "é", "l", "i", "e"] : [Text] >> amelie2:utf32_codepoints() = [Int32(65), Int32(109), Int32(233), Int32(108), Int32(105), Int32(101)] - >> amelie2:utf8_bytes() + >> amelie2:bytes() = [Byte(0x41), Byte(0x6D), Byte(0xC3), Byte(0xA9), Byte(0x6C), Byte(0x69), Byte(0x65)] >> amelie:codepoint_names() @@ -126,7 +126,7 @@ func main(): = yes >> c == Text.from_codepoints(c:utf32_codepoints()) = yes - >> c == Text.from_bytes(c:utf8_bytes())! + >> c == Text.from_bytes(c:bytes())! = yes >> "one$(\n)two$(\n)three":lines() -- cgit v1.2.3