@@ -468,24 +468,21 @@ begin
468468 test_case_cleanup;
469469
470470 ---------------------------------------------------------------------------
471- banner(" Should prevent from running a test from enabled_test_case more than once unless re-initialized ." );
471+ banner(" Should prevent from running a test from enabled_test_case more than once." );
472472 test_case_setup;
473473 test_runner_setup(runner, " enabled_test_cases : Should one" );
474- for i in 0 to 2 loop
475- case i is
476- when 0 =>
477- check(c, run(" Should one" ), " Expected " " Should one" " to run." );
478- when others =>
479- mock(runner_trace_logger);
480- check_false(c, run(" Should one" ), " Didn't expected " " Should one" " to run." );
481- check_log(runner_trace_logger, " Test case: Should one cannot be run more than once unless re-initialization." , error );
482- unmock(runner_trace_logger);
483- end case ;
484- end loop ;
485- test_runner_setup(runner, " enabled_test_cases : Should one" );
486474 while test_suite loop
487- check(c, run(" Should one" ), " Expected " " Should one" " to run." );
488- exit ;
475+ for i in 0 to 2 loop
476+ case i is
477+ when 0 =>
478+ check(c, run(" Should one" ), " Expected " " Should one" " to run." );
479+ when others =>
480+ mock(runner_trace_logger);
481+ check_false(c, run(" Should one" ), " Didn't expected " " Should one" " to run." );
482+ check_log(runner_trace_logger, " Test case: Should one cannot be run more than once." , error );
483+ unmock(runner_trace_logger);
484+ end case ;
485+ end loop ;
489486 end loop ;
490487
491488 test_case_cleanup;
0 commit comments