aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-09-12 14:27:13 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-09-12 14:27:13 -0400
commit46a2aa2ffc71820767f0cdaead84c26dc240c893 (patch)
treeda00733058f5b9b4ef03339d630076880845d9ad /test
parent10795782c674df12fc70ea3aeeaa2f62158b6cbd (diff)
Fix up comprehensions so set comprehensions work and everything is a bit
more clean
Diffstat (limited to 'test')
-rw-r--r--test/sets.tm3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/sets.tm b/test/sets.tm
index bfec068e..a6a9d57b 100644
--- a/test/sets.tm
+++ b/test/sets.tm
@@ -34,3 +34,6 @@ func main():
>> t1:remove_all(t2)
>> t1
= {10, 20}
+
+ >> {3, i for i in 5}
+ = {3, 1, 2, 4, 5}