Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Commit f5c01b1

Browse files
committed
Reoder deprecation_summary to come before dump_summary
deprecation_summary can oftentimes be long and the last thing printed gets most of the user's focus. It's probably better that the result of the tests is given primacy.
1 parent a7c1d35 commit f5c01b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rspec/core/reporter.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@ def finish
9696
notify :start_dump, Notifications::NullNotification
9797
notify :dump_pending, Notifications::NullNotification
9898
notify :dump_failures, Notifications::NullNotification
99-
notify :dump_summary, Notifications::SummaryNotification.new(@duration, @example_count, @failure_count, @pending_count)
10099
notify :deprecation_summary, Notifications::NullNotification
100+
notify :dump_summary, Notifications::SummaryNotification.new(@duration, @example_count, @failure_count, @pending_count)
101101
notify :seed, Notifications::SeedNotification.new(@configuration.seed, seed_used?)
102102
ensure
103103
notify :close, Notifications::NullNotification

0 commit comments

Comments
 (0)