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

Print failure details to STDOUT #11

Open
jasonkarns opened this issue Nov 28, 2018 · 0 comments
Open

Print failure details to STDOUT #11

jasonkarns opened this issue Nov 28, 2018 · 0 comments

Comments

@jasonkarns
Copy link
Member

Assertions are expected to print failure messages when they fail. As such, STDERR is not the correct place for the expected failure messages to go. This leaves STDERR as the location for error messages from incorrect usage of the helper to go.

Prior art: diff: The diff itself goes to STDOUT (exit 1). When diff is invoked incorrectly, the error message goes to STDERR (exit 2).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant