-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Format spec results with pretty inspect #11635
Format spec results with pretty inspect #11635
Conversation
… with Object.pretty_inspect to facilitate formatting of classes and structs in the displayed results after running a spec test suite.
… with Object.pretty_inspect to facilitate formatting of classes and structs in the displayed results after running a spec test suite.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Let's merge it and see how it works out. If we don't like the format, we can revert before the next release.
@beta-ziliani Actually, I'd rather postpone this to 1.8. The idea was to merge this in advance of a release so we have time to observe the effects. |
We're nearing the 1.8 release, so I'm just checking back on this. Nobody has complained about the |
Changing all instances of Object.inspect with Object.pretty_inspect in the /src/spec/expectations.cr file for better readability of classes and structs in spec test results.
https://forum.crystal-lang.org/t/formatting-spec-test-results/4129/3