From c842d90bbc5ab8f4fb88fb89ebb02c0c12051396 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Wed, 27 Jul 2016 22:51:11 -0700 Subject: 3158 --- html/082scenario_screen.cc.html | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'html/082scenario_screen.cc.html') diff --git a/html/082scenario_screen.cc.html b/html/082scenario_screen.cc.html index 54980d17..8a204b48 100644 --- a/html/082scenario_screen.cc.html +++ b/html/082scenario_screen.cc.html @@ -191,6 +191,13 @@ Name[r]["screen"] = SCREEN.products.at(0).set_value(SCREEN); } +:(scenario assume_screen_shows_up_in_errors) +% Hide_errors = true; +scenario error-in-assume-screen [ + assume-screen width, 5 +] ++error: scenario_error-in-assume-screen: missing type for 'width' in 'assume-screen width, 5' + //: screen-should-contain is a regular instruction :(before "End Primitive Recipe Declarations") SCREEN_SHOULD_CONTAIN, @@ -277,10 +284,7 @@ put(Recipe_ordinal,// just testing check_screen raise << "expected screen location (" << row << ", " << column << ") to be in color " << color << " instead of " << no_scientific(get_or_insert(Memory, addr+cell_color_offset)) << '\n' << end(); } - if (!Scenario_testing_scenario) { - Passed = false; - ++Num_failures; - } + if (!Scenario_testing_scenario) Passed = false; return; } @@ -308,10 +312,7 @@ put(Recipe_ordinal,// just testing check_screen raise << "expected screen location (" << row << ", " << column << ") to contain " << curr << expected_pretty << color_phrase.str() << " instead of " << no_scientific(get_or_insert(Memory, addr)) << actual_pretty << '\n' << end(); } - if (!Scenario_testing_scenario) { - Passed = false; - ++Num_failures; - } + if (!Scenario_testing_scenario) Passed = false; return; } assert(cursor.get() == '.'); -- cgit 1.4.1-2-gfad0