From cb6a5f264c857691cf3db3c9d8e12375e4dc75fd Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sat, 5 Apr 2025 01:43:20 -0400 Subject: Fix up some tests and type_or_type --- test/text.tm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/text.tm') diff --git a/test/text.tm b/test/text.tm index 0316a96f..2e061415 100644 --- a/test/text.tm +++ b/test/text.tm @@ -56,7 +56,7 @@ func main(): = [65, 109, 233, 108, 105, 101] >> amelie:bytes() = [0x41, 0x6D, 0xC3, 0xA9, 0x6C, 0x69, 0x65] - >> Text.from_bytes([0x6D, 0xC3, 0xA9, 0x6C, 0x69, 0x65])! + >> Text.from_bytes([0x41, 0x6D, 0xC3, 0xA9, 0x6C, 0x69, 0x65])! = "Amélie" >> Text.from_bytes([Byte(0xFF)]) = none @@ -202,7 +202,7 @@ func main(): = ["PENGUIN"] >> Text.from_codepoint_names(["not a valid name here buddy"]) - = none : Text + = none >> "Hello":replace("ello", "i") = "Hi" -- cgit v1.2.3