aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-09-04 21:22:03 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-09-04 21:22:03 -0400
commit3a556296b68ded68c9fcefa1c60e34d1eff40fa7 (patch)
tree658db57ce2c477d13cf607b1878e2ed5e2a68c92 /test
parent00543b4e876cf069d5be22c1f06427a4c8d5bed9 (diff)
Add Text:repeat()
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 74a53413..0a34e2a0 100644
--- a/test/text.tm
+++ b/test/text.tm
@@ -253,3 +253,6 @@ func main():
>> "hello world":map($/world/, Text.upper)
= "hello WORLD"
+
+ >> "Abc":repeat(3)
+ = "AbcAbcAbc"