forked from rspec/rspec-core
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix group profile output regressions introduced in rspec#1971.
Regressions fixed by this commit: - We only considered top-level groups before, but rspec#1971 made it consider nested groups as well. However, the example count was only incremented on the top-level group, which meant the output said “Inf seconds” since `float / 0` returns `Infinity`. - We were wrongly listing the example group class name rather than the location. This is because we changed from locations to groups in the hash. Fixes rspec#1989.
- Loading branch information
1 parent
a05496b
commit bc11555
Showing
7 changed files
with
69 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters