aboutsummaryrefslogtreecommitdiff
path: root/test/text.tm
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-04-06 16:07:23 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-04-06 16:07:23 -0400
commit6782cc5570e194791ca6cdd695b88897e9145564 (patch)
treea428e9d954aca251212ec1cf15bd35e0badce630 /test/text.tm
parent448e805293989b06e07878a4a87fdd378f7c6e02 (diff)
No more colons for blocks
Diffstat (limited to 'test/text.tm')
-rw-r--r--test/text.tm6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/text.tm b/test/text.tm
index b353aa26..1cabbdea 100644
--- a/test/text.tm
+++ b/test/text.tm
@@ -1,4 +1,4 @@
-func main():
+func main()
str := "Hello Amélie!"
say("Testing strings like $str")
@@ -236,7 +236,7 @@ func main():
>> ("hello" ++ " " ++ "Amélie").reversed()
= "eilémA olleh"
- do:
+ do
say("Testing concatenation-stability:")
ab := Text.from_codepoint_names(["LATIN SMALL LETTER E", "COMBINING VERTICAL LINE BELOW"])!
>> ab.codepoint_names()
@@ -254,7 +254,7 @@ func main():
= 1
- do:
+ do
concat := "e" ++ Text.from_codepoints([Int32(0x300)])
>> concat.length
= 1