aboutsummaryrefslogtreecommitdiff
path: root/test/lists.tm
diff options
context:
space:
mode:
Diffstat (limited to 'test/lists.tm')
-rw-r--r--test/lists.tm6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/lists.tm b/test/lists.tm
index 6281532c..fef23f5d 100644
--- a/test/lists.tm
+++ b/test/lists.tm
@@ -111,16 +111,14 @@ func main()
heap_order : @[Int]
repeat
heap_order.insert(heap.heap_pop() or stop)
- >> heap_order[] == heap_order.sorted()
- = yes
+ assert heap_order[] == heap_order.sorted()
heap_order[] = []
for i in 10
heap.heap_push((i*13337) mod 37)
>> heap
repeat
heap_order.insert(heap.heap_pop() or stop)
- >> heap_order[] == heap_order.sorted()
- = yes
+ assert heap_order[] == heap_order.sorted()
do
>> [i*10 for i in 5].from(3)