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

Fix load in teardown after failure exits test #612

Conversation

martin-schulze-vireso
Copy link
Member

Fixes #609

When run from the exit trap, `return` without parameter would
return the exit code the trap was called with instead of the last
command's before `return`.
@martin-schulze-vireso martin-schulze-vireso requested a review from a team as a code owner June 15, 2022 20:58
@martin-schulze-vireso martin-schulze-vireso merged commit 26c9b18 into bats-core:master Jun 15, 2022
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

Successfully merging this pull request may close these issues.

Issue with using load in teardown
1 participant