From 5354a405e327bb144f00157b913aa544c3b77e4b Mon Sep 17 00:00:00 2001 From: Koichi Sasada Date: Fri, 14 Jun 2024 03:44:08 +0900 Subject: [PATCH] respect `--error-output stderr` on parallel mode `MultiFormatter#print_exception` should respect `--error-output stderr`. --- lib/mspec/runner/formatters/multi.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mspec/runner/formatters/multi.rb b/lib/mspec/runner/formatters/multi.rb index a723ae8e..fa1da376 100644 --- a/lib/mspec/runner/formatters/multi.rb +++ b/lib/mspec/runner/formatters/multi.rb @@ -42,6 +42,6 @@ def aggregate_results(files) end def print_exception(exc, count) - print "\n#{count})\n#{exc}\n" + @err.print "\n#{count})\n#{exc}\n" end end