diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-01-27 15:27:29 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-01-27 15:27:29 -0800 |
commit | 95425355a01edf284a86d0873e63d88071221ed8 (patch) | |
tree | ac293fa0a23a3e51c17faef4de2ebdf36fced6f0 /edit/010-warnings.mu | |
parent | 5516dd288d705fed42f2c099471b19a76481b18a (diff) | |
download | mu-95425355a01edf284a86d0873e63d88071221ed8.tar.gz |
2608 - fix-up tests in sandbox/ app
When I first forked it from the edit/ app, I wasn't sure how to deal with changing the recipe side when the only way the program accesses it is with the untestable 'restore' hack. Now we introduce a little hook into event-loop and pass in any updated recipe side directly. In the process I've cleaned up several minor stylistic inconsistencies between edit/ and sandbox/ apps.
Diffstat (limited to 'edit/010-warnings.mu')
-rw-r--r-- | edit/010-warnings.mu | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/edit/010-warnings.mu b/edit/010-warnings.mu index ccecc880..c37e31e2 100644 --- a/edit/010-warnings.mu +++ b/edit/010-warnings.mu @@ -182,7 +182,7 @@ scenario run-updates-status-with-first-erroneous-sandbox [ run [ event-loop screen:address:shared:screen, console:address:shared:console, 3:address:shared:programming-environment-data ] - # status shows first sandbox with error + # status line shows that error is in first sandbox screen-should-contain [ . errors found (0) run (F4) . ] @@ -209,7 +209,7 @@ scenario run-updates-status-with-first-erroneous-sandbox-2 [ run [ event-loop screen:address:shared:screen, console:address:shared:console, 3:address:shared:programming-environment-data ] - # status shows first sandbox with error + # status line shows that error is in second sandbox screen-should-contain [ . errors found (1) run (F4) . ] @@ -263,9 +263,7 @@ z <- add x, [a] assume-console [ press F4 ] - run [ - event-loop screen:address:shared:screen, console:address:shared:console, 3:address:shared:programming-environment-data - ] + event-loop screen:address:shared:screen, console:address:shared:console, 3:address:shared:programming-environment-data screen-should-contain [ . errors found (0) run (F4) . .recipe foo x:_elem -> z:_elem [ ┊ . @@ -489,9 +487,7 @@ recipe foo [ assume-console [ press F4 ] - run [ - event-loop screen:address:shared:screen, console:address:shared:console, 3:address:shared:programming-environment-data - ] + event-loop screen:address:shared:screen, console:address:shared:console, 3:address:shared:programming-environment-data screen-should-contain [ . errors found run (F4) . . ┊foo . |