From 22a2524048157bfbd65ccf1bf66a89808ba83e0e Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sun, 4 Oct 2015 21:34:12 -0700 Subject: 2240 - drop the failing test in 'mu sandbox' With our new type checks it's no longer possible to expand traces generated directly in the sandbox. So now there's yet another test that we can't run in the sandbox/ app. Yet. --- sandbox/010-warnings.mu | 46 +--------------------------------------------- 1 file changed, 1 insertion(+), 45 deletions(-) diff --git a/sandbox/010-warnings.mu b/sandbox/010-warnings.mu index 636e71dc..e8fed050 100644 --- a/sandbox/010-warnings.mu +++ b/sandbox/010-warnings.mu @@ -156,48 +156,4 @@ loop ] ] -scenario sandbox-with-warnings-shows-trace [ - $close-trace # trace too long - assume-screen 50/width, 10/height - # generate a stash and a warning - 1:address:array:character <- new [stash [abc] -foo 4, 0] - 2:address:programming-environment-data <- new-programming-environment screen:address, 1:address:array:character - # run - assume-console [ - press F4 - ] - event-loop screen:address, console:address, 2:address:programming-environment-data - # screen prints error message - screen-should-contain [ - . run (F4) . - . . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. - . x. - .stash [abc] . - .foo 4, 0 . - .undefined operation in 'foo 4, 0' . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. - . . - ] - # click on the call in the sandbox - assume-console [ - left-click 4, 25 - ] - run [ - event-loop screen:address, console:address, 2:address:programming-environment-data - ] - # screen should expand trace - screen-should-contain [ - . run (F4) . - . . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. - . x. - .stash [abc] . - .foo 4, 0 . - .abc . - .undefined operation in 'foo 4, 0' . - .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. - . . - ] -] +# todo: scenario sandbox-with-warnings-shows-trace from edit/ -- cgit 1.4.1-2-gfad0