about summary refs log tree commit diff stats
path: root/sandbox/008-sandbox-test.mu
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-05-11 19:28:29 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-05-11 19:31:37 -0700
commitac8acc7b05774ac5777d5a03311728fb14d3f217 (patch)
treeae5d921ede8aed3332e282a9297f84ce06f7f7e1 /sandbox/008-sandbox-test.mu
parent1156971774b307bec29fab34a523eb39a7904174 (diff)
downloadmu-ac8acc7b05774ac5777d5a03311728fb14d3f217.tar.gz
2954 - bugfix: $system
The actual fix is in the layer rewriting literal strings.
Diffstat (limited to 'sandbox/008-sandbox-test.mu')
-rw-r--r--sandbox/008-sandbox-test.mu7
1 files changed, 6 insertions, 1 deletions
diff --git a/sandbox/008-sandbox-test.mu b/sandbox/008-sandbox-test.mu
index 61d12167..e88d7240 100644
--- a/sandbox/008-sandbox-test.mu
+++ b/sandbox/008-sandbox-test.mu
@@ -98,7 +98,12 @@ before <end-save-sandbox> [
 ]
 
 before <end-restore-sandbox> [
-  *curr <- put *curr, expected-response:offset, contents
+  {
+    filename <- append filename, [.out]
+    contents <- restore filename
+    break-unless contents
+    *curr <- put *curr, expected-response:offset, contents
+  }
 ]
 
 # clicks on sandbox responses save it as 'expected'