aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-03-26 14:59:52 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-03-26 14:59:52 -0400
commitd94053ca7768037016cbcacc4cadf843dad1bea6 (patch)
treecfca6501f96d46c15adb40651de8213ee83d0f31 /test
parent135e23094c42b33acdd05dd522bbe0fd691b9eee (diff)
Add array:reversed()
Diffstat (limited to 'test')
-rw-r--r--test/arrays.tm5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/arrays.tm b/test/arrays.tm
index 07a89e19..e8856b3b 100644
--- a/test/arrays.tm
+++ b/test/arrays.tm
@@ -68,3 +68,8 @@ if yes
= @[10, 20, 30]
>> copy
= [10, 20]
+
+if yes
+ >> arr := [10, 20, 30]
+ >> arr:reversed()
+ = [30, 20, 10]