aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-12-19 15:32:19 -0500
committerBruce Hill <bruce@bruce-hill.com>2024-12-19 15:32:19 -0500
commit478ddad9aaf837005f5401126f8872c0e3058bba (patch)
tree174dce900cd28b13de71f17cd122e31f0f4f17b1 /test
parent221f4ad7ea257d7d65598e89799cb389d6d5932d (diff)
Add Text:reversed()
Diffstat (limited to 'test')
-rw-r--r--test/text.tm3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/text.tm b/test/text.tm
index 26fd4c63..a95764df 100644
--- a/test/text.tm
+++ b/test/text.tm
@@ -292,6 +292,9 @@ func main():
>> "abcde":starts_with("cd")
= no
+ >> ("hello" ++ " " ++ "Amélie"):reversed()
+ = "eilémA olleh" : Text
+
do:
!! Testing concatenation-stability:
>> ab := Text.from_codepoint_names(["LATIN SMALL LETTER E", "COMBINING VERTICAL LINE BELOW"])!