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

Incorrect usage of helpers should return 2

Open jasonkarns opened this issue 6 years ago • 0 comments

Exit 1 is for when the assertions fail.

But for when the helper is used incorrectly, it should exit 2.

See diff and other compare tools as prior art. (0 means no diff, 1 means diff, 2 means error)

jasonkarns avatar Nov 28 '18 15:11 jasonkarns