Skip to content

Test: Move the visual space in result prints to help grouping #58198

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

IanButterworth
Copy link
Member

@IanButterworth IanButterworth commented Apr 22, 2025

I think it's currently visually confusing that there's a space is in the middle of a result block, but not separating results.

This moves the space, and indents the stacktrace to be along-side the comparison info so that each result is more likely to look like a visual group.

Master

Screenshot 2025-04-22 at 10 05 32 PM

This PR

Screenshot 2025-04-22 at 10 03 38 PM

@IanButterworth IanButterworth added the testsystem The unit testing framework and Test stdlib label Apr 22, 2025
@IanButterworth IanButterworth force-pushed the ib/test_print_grouping branch from dd82936 to 7d04bdd Compare April 23, 2025 02:03
@IanButterworth
Copy link
Member Author

It could go further and add a line, though I'd probably want to make that line faint and add a box terminator at the last row, which isn't super trivial to implement.

Screenshot 2025-04-22 at 9 55 46 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
testsystem The unit testing framework and Test stdlib
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant