about summary refs log tree commit diff stats
path: root/edit/008-sandbox-test.mu
diff options
context:
space:
mode:
Diffstat (limited to 'edit/008-sandbox-test.mu')
-rw-r--r--edit/008-sandbox-test.mu7
1 files changed, 6 insertions, 1 deletions
diff --git a/edit/008-sandbox-test.mu b/edit/008-sandbox-test.mu
index 98d1bf57..e15c79ec 100644
--- a/edit/008-sandbox-test.mu
+++ b/edit/008-sandbox-test.mu
@@ -99,7 +99,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'