lib/mutest/isolation/fork.rb in mutest-0.0.9 vs lib/mutest/isolation/fork.rb in mutest-0.0.10

- old
+ new

@@ -20,11 +20,11 @@ # if block terminates abnormal def call(&block) io.pipe(binmode: true) do |pipes| parent(*pipes, &block) end - rescue => exception + rescue StandardError => exception raise Error, exception end # Handle parent process # @@ -65,8 +65,8 @@ stderr.reopen(null) stdout.reopen(null) yield end end - end # Fork - end # Isolation -end # Mutest + end + end +end