From 832ffbf403645ea3d23e08eba6ddd8d7d60b5740 Mon Sep 17 00:00:00 2001 From: Michael Miller Date: Sun, 16 May 2021 12:22:00 -0600 Subject: [PATCH] Split to make it obvious run is called --- src/spectator/spec.cr | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/spectator/spec.cr b/src/spectator/spec.cr index df84a54..a1e80ab 100644 --- a/src/spectator/spec.cr +++ b/src/spectator/spec.cr @@ -14,7 +14,8 @@ module Spectator # Runs all selected examples and returns the results. def run - Runner.new(examples, @config.formatter, @config.run_flags).run + runner = Runner.new(examples, @config.formatter, @config.run_flags) + runner.run end # Selects and shuffles the examples that should run.