diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-04-05 01:43:20 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-04-05 01:43:20 -0400 |
| commit | cb6a5f264c857691cf3db3c9d8e12375e4dc75fd (patch) | |
| tree | 38f938b4bd9462f21384604c3473841454fe4eef /test/text.tm | |
| parent | 00fd2b9e6705cf80e315c84b35feb6248305770b (diff) | |
Fix up some tests and type_or_type
Diffstat (limited to 'test/text.tm')
| -rw-r--r-- | test/text.tm | 4 |
1 files changed, 2 insertions, 2 deletions
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" |
