bats-assert icon indicating copy to clipboard operation
bats-assert copied to clipboard

Print failure details to STDOUT

Open jasonkarns opened this issue 6 years ago • 0 comments

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).

jasonkarns avatar Nov 28 '18 16:11 jasonkarns