diff --git a/src/spectator/runnable_example.cr b/src/spectator/runnable_example.cr index 85576f9..4edf93b 100644 --- a/src/spectator/runnable_example.cr +++ b/src/spectator/runnable_example.cr @@ -39,13 +39,10 @@ module Spectator ResultCapture.new.tap do |result| # Get the proc that will call around-each hooks and the example. wrapper = wrap_run_example(result) - - begin - run_before_hooks - wrapper.call - ensure - run_after_hooks - end + + run_before_hooks + wrapper.call + run_after_hooks end end