about summary refs log tree commit diff stats
path: root/sandbox/006-sandbox-copy.mu
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2017-06-09 11:29:15 -0700
committerKartik K. Agaram <vc@akkartik.com>2017-06-09 11:29:15 -0700
commit6d12a8c4ebe25527c92a934702e2628ce8c4bd4c (patch)
tree051825d9664a06fc3bc7085031fe62dfeb94c417 /sandbox/006-sandbox-copy.mu
parentf53746f80145a184b5e4a6974175e2f92f49dcba (diff)
downloadmu-6d12a8c4ebe25527c92a934702e2628ce8c4bd4c.tar.gz
3902 - drop redundant redraw of recipe side on F4
This change is interesting because I only updated one test to gain confidence
that F4 will never redraw the recipe side. (Most of the changes are to
explicitly render-all before each scenario.)
Diffstat (limited to 'sandbox/006-sandbox-copy.mu')
-rw-r--r--sandbox/006-sandbox-copy.mu3
1 files changed, 3 insertions, 0 deletions
diff --git a/sandbox/006-sandbox-copy.mu b/sandbox/006-sandbox-copy.mu
index 4835f02e..33e31cc9 100644
--- a/sandbox/006-sandbox-copy.mu
+++ b/sandbox/006-sandbox-copy.mu
@@ -9,6 +9,7 @@ scenario copy-a-sandbox-to-editor [
   assume-resources [
   ]
   env:&:environment <- new-programming-environment resources, screen, [add 1, 1]  # contents of sandbox editor
+  render-all screen, env, render
   # run it
   assume-console [
     press F4
@@ -75,6 +76,7 @@ scenario copy-a-sandbox-to-editor-2 [
   assume-resources [
   ]
   env:&:environment <- new-programming-environment resources, screen, [add 1, 1]  # contents of sandbox editor
+  render-all screen, env, render
   # run it
   assume-console [
     press F4
@@ -228,6 +230,7 @@ scenario copy-fails-if-sandbox-editor-not-empty [
   assume-resources [
   ]
   env:&:environment <- new-programming-environment resources, screen, [add 1, 1]  # contents of sandbox editor
+  render-all screen, env, render
   # run it
   assume-console [
     press F4