Skip to content
Snippets Groups Projects
Unverified Commit ee03bd61 authored by Thiago Nache Carvalho's avatar Thiago Nache Carvalho Committed by GitHub
Browse files

Don't close pipe in SetError (#120)

Fixes #117.

* The pipe shouldn't be closed on SetError function

* Fix TestExecRunsGoWithNoArgsAndGetsUsageMessagePlusErrorExitStatus2 test. It was not checking that exit status is two

* Update test name to match what is really doing

* Fix example for getting exit status from exec

* Add new example for exit status not zero on Exec
parent 3e48ccf7
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment