diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2017-06-22 09:33:29 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2017-06-22 09:33:29 -0700 |
commit | 5aac71e8758501964b83591fc26613bacbc1b758 (patch) | |
tree | 595dfb339c6847c66c8d4dee7fa6c83e8c1b1e87 /sandbox | |
parent | 124c67645cb6f1b9f06d7104c5398fa4732e2f25 (diff) | |
download | mu-5aac71e8758501964b83591fc26613bacbc1b758.tar.gz |
3935
Diffstat (limited to 'sandbox')
-rw-r--r-- | sandbox/005-sandbox.mu | 2 | ||||
-rw-r--r-- | sandbox/009-sandbox-test.mu | 2 | ||||
-rw-r--r-- | sandbox/011-errors.mu | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/sandbox/005-sandbox.mu b/sandbox/005-sandbox.mu index 907be769..b35f3d13 100644 --- a/sandbox/005-sandbox.mu +++ b/sandbox/005-sandbox.mu @@ -258,7 +258,7 @@ def render-sandboxes screen:&:screen, sandbox:&:sandbox, left:num, right:num, ro return-unless sandbox screen-height:num <- screen-height screen at-bottom?:bool <- greater-or-equal row, screen-height - return-if at-bottom?:bool + return-if at-bottom? hidden?:bool <- lesser-than idx, render-from { break-if hidden? diff --git a/sandbox/009-sandbox-test.mu b/sandbox/009-sandbox-test.mu index 34fed44e..62ced6c9 100644 --- a/sandbox/009-sandbox-test.mu +++ b/sandbox/009-sandbox-test.mu @@ -191,7 +191,7 @@ after <render-sandbox-response> [ break-unless expected-response # fall-through to print in grey response-is-expected?:bool <- equal expected-response, sandbox-response { - break-if response-is-expected?:bool + break-if response-is-expected? row, screen <- render-text screen, sandbox-response, left, right, 1/red, row } { diff --git a/sandbox/011-errors.mu b/sandbox/011-errors.mu index 06a5fb16..df21cce8 100644 --- a/sandbox/011-errors.mu +++ b/sandbox/011-errors.mu @@ -84,7 +84,7 @@ def! update-sandbox sandbox:&:sandbox, env:&:environment, idx:num -> sandbox:&:s *sandbox <- put *sandbox, trace:offset, trace { break-if errors - break-if completed?:bool + break-if completed? errors <- new [took too long! ] *sandbox <- put *sandbox, errors:offset, errors |