about summary refs log tree commit diff stats
path: root/073list.mu
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-11-28 23:58:43 -0800
committerKartik K. Agaram <vc@akkartik.com>2015-11-28 23:58:43 -0800
commit67bc24e7e283cba3aebd37f7282b9ee1f146d8c8 (patch)
tree5231c49f3eb66a8d14f289603b9bfced3123993c /073list.mu
parentb08450c208bc14d15e96726dac0d7b6e278f05ac (diff)
downloadmu-67bc24e7e283cba3aebd37f7282b9ee1f146d8c8.tar.gz
2504 - support to-text in 'stash'
Diffstat (limited to '073list.mu')
-rw-r--r--073list.mu11
1 files changed, 11 insertions, 0 deletions
diff --git a/073list.mu b/073list.mu
index f3b25142..e2879624 100644
--- a/073list.mu
+++ b/073list.mu
@@ -101,3 +101,14 @@ scenario display-list [
     3:array:character <- [6 -> 5 -> 4]
   ]
 ]
+
+scenario stash-on-list-converts-to-text [
+  run [
+    x:address:list:number <- push 4, 0
+    x <- push 5, x
+    stash [foo foo], x
+  ]
+  trace-should-contain [
+    app: foo foo 5 -> 4
+  ]
+]