about summary refs log tree commit diff stats
path: root/sandbox/009-sandbox-test.mu
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2018-06-17 11:20:53 -0700
committerKartik Agaram <vc@akkartik.com>2018-06-17 15:57:37 -0700
commit01ce563dfe3e6cf58337708b9dbb60a8a99fa0f2 (patch)
tree696fce7bb207e77952d10b7358f4ce00faed3874 /sandbox/009-sandbox-test.mu
parentdd66068298b0a11f2a1f195376cba98e0c8570b5 (diff)
downloadmu-01ce563dfe3e6cf58337708b9dbb60a8a99fa0f2.tar.gz
4262 - literal 'null'
Diffstat (limited to 'sandbox/009-sandbox-test.mu')
-rw-r--r--sandbox/009-sandbox-test.mu6
1 files changed, 3 insertions, 3 deletions
diff --git a/sandbox/009-sandbox-test.mu b/sandbox/009-sandbox-test.mu
index 3fd4dafc..c22916a7 100644
--- a/sandbox/009-sandbox-test.mu
+++ b/sandbox/009-sandbox-test.mu
@@ -173,9 +173,9 @@ def find-click-in-sandbox-output env:&:environment, click-row:num -> sandbox:&:s
   }
   # return sandbox if click is in its output region
   response-starting-row:num <- get *sandbox, response-starting-row-on-screen:offset
-  return-unless response-starting-row, 0/no-click-in-sandbox-output, 0/sandbox-index
+  return-unless response-starting-row, null/no-click-in-sandbox-output, 0/sandbox-index
   click-in-response?:bool <- greater-or-equal click-row, response-starting-row
-  return-unless click-in-response?, 0/no-click-in-sandbox-output, 0/sandbox-index
+  return-unless click-in-response?, null/no-click-in-sandbox-output, 0/sandbox-index
   return sandbox, sandbox-index
 ]
 
@@ -186,7 +186,7 @@ def toggle-expected-response sandbox:&:sandbox -> sandbox:&:sandbox [
   {
     # if expected-response is set, reset
     break-unless expected-response
-    *sandbox <- put *sandbox, expected-response:offset, 0
+    *sandbox <- put *sandbox, expected-response:offset, null
   }
   {
     # if not, set expected response to the current response