Skip to content
This repository has been archived by the owner on Jun 9, 2019. It is now read-only.

fail_now return wrong exit code #17

Open
johscheuer opened this issue Feb 19, 2018 · 0 comments
Open

fail_now return wrong exit code #17

johscheuer opened this issue Feb 19, 2018 · 0 comments

Comments

@johscheuer
Copy link

johscheuer commented Feb 19, 2018

If you use the fail_now function the return code is 0 but should be 1. The function fail does this correctly.

The problem probably is here: https://github.com/garethr/kubetest/blob/master/assert/assert.go#L185 it's called with AssertionError and all other functions are called with AssertionFailure

johscheuer pushed a commit to johscheuer/kubetest that referenced this issue Feb 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant