Skip to content

Commit a09228a

Browse files
committed
renamed
1 parent 1c1d4da commit a09228a

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/test_runner.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ void update_scenario_status(std::string_view name, std::string_view file,
206206

207207
void skip_step(step_pipeline_context& context)
208208
{
209-
const bool should_skip = []()
209+
const bool continue_on_failure_or_prev_step_failed = []()
210210
{
211211
const auto& opts = program_arguments().get_options();
212212
if (opts.continue_on_failure)
@@ -229,7 +229,8 @@ void skip_step(step_pipeline_context& context)
229229
}
230230
}();
231231

232-
if (should_skip || context.scenario_already_skpped ||
232+
if (continue_on_failure_or_prev_step_failed ||
233+
context.scenario_already_skpped ||
233234
internal::get_runtime_options().fail_scenario().is_set)
234235
{
235236
context.result.status = context.step.has_step_definition()

0 commit comments

Comments
 (0)