Skip to content
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

Default reporter: line jump may be missed if failure message exceeds maximum message length #82

Closed
cschreib opened this issue Apr 12, 2023 · 0 comments · Fixed by #81
Closed
Assignees
Labels
bug:confirmed Something isn't working (confirmed)
Milestone

Comments

@cschreib
Copy link
Member

With the default reporter only. If a test failure generates a message of length exceeding SNITCH_MAX_MESSAGE_LENGTH, the message is truncated. This is the expected behavior, except that currently the truncation can remove the end-of-line character, which then corrupts the terminal output. It can also remove reset-color markers, which means that coloring can leak to the next message.

@cschreib cschreib added the bug:unconfirmed Something isn't working (to be confirmed) label Apr 12, 2023
@cschreib cschreib added this to the v1.1 milestone Apr 12, 2023
@cschreib cschreib self-assigned this Apr 12, 2023
@cschreib cschreib added bug:confirmed Something isn't working (confirmed) and removed bug:unconfirmed Something isn't working (to be confirmed) labels May 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug:confirmed Something isn't working (confirmed)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant