diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-10-15 22:16:30 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-10-15 22:16:30 -0700 |
commit | dd995c617438a28359ba9ecff46c09d9b0b77d25 (patch) | |
tree | fd47d285173a8e8f25f7c4038815831592252092 /082scenario_screen.cc | |
parent | 30c90fc4c79f254c41b4c3ee7dfb3cc505179438 (diff) | |
download | mu-dd995c617438a28359ba9ecff46c09d9b0b77d25.tar.gz |
3503
Undo commit 3500; turns out we need the duplicate scenario names for good test failure messages.
Diffstat (limited to '082scenario_screen.cc')
-rw-r--r-- | 082scenario_screen.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/082scenario_screen.cc b/082scenario_screen.cc index 84072d86..56e3ab6b 100644 --- a/082scenario_screen.cc +++ b/082scenario_screen.cc @@ -11,7 +11,7 @@ recipes_taking_literal_strings.insert("screen-should-contain-in-color"); :(scenarios run_mu_scenario) :(scenario screen_in_scenario) -scenario foo [ +scenario screen-in-scenario [ local-scope assume-screen 5/width, 3/height run [ @@ -29,7 +29,7 @@ scenario foo [ :(scenario screen_in_scenario_unicode) # screen-should-contain can check unicode characters in the fake screen -scenario foo [ +scenario screen-in-scenario-unicode [ local-scope assume-screen 5/width, 3/height run [ @@ -48,7 +48,7 @@ scenario foo [ # checks are inside scenario :(scenario screen_in_scenario_color) -scenario foo [ +scenario screen-in-scenario-color [ local-scope assume-screen 5/width, 3/height run [ @@ -85,7 +85,7 @@ scenario foo [ :(scenario screen_in_scenario_error) % Scenario_testing_scenario = true; % Hide_errors = true; -scenario foo [ +scenario screen-in-scenario-error [ local-scope assume-screen 5/width, 3/height run [ @@ -105,7 +105,7 @@ scenario foo [ % Scenario_testing_scenario = true; % Hide_errors = true; # screen-should-contain can check unicode characters in the fake screen -scenario foo [ +scenario screen-in-scenario-color-error [ local-scope assume-screen 5/width, 3/height run [ @@ -175,10 +175,10 @@ if (curr.name == "assume-screen") { :(scenario assume_screen_shows_up_in_errors) % Hide_errors = true; -scenario foo [ +scenario assume-screen-shows-up-in-errors [ assume-screen width, 5 ] -+error: scenario_foo: missing type for 'width' in 'assume-screen width, 5' ++error: scenario_assume-screen-shows-up-in-errors: missing type for 'width' in 'assume-screen width, 5' //: screen-should-contain is a regular instruction :(before "End Primitive Recipe Declarations") |