aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/arrays.tm2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/arrays.tm b/test/arrays.tm
index 60bdc69a..17aeee53 100644
--- a/test/arrays.tm
+++ b/test/arrays.tm
@@ -92,3 +92,5 @@ if yes
>> nums:sort(func(x:&%Int,y:&%Int) y[] <> x[])
>> nums
= [30, 10, -20]
+
+>> ["A", "B", "C"]:sample(10, [1.0, 0.5, 0.0])