Skip to content

Conversation

JussiPekonen
Copy link

@JussiPekonen JussiPekonen commented Jun 27, 2022

With return statement, running tests using shunit2 <file> will print out
a warning message "can only `return' from a function or sourced script". This
regression has been introduced after the 2.1.8 release.

Fixes: #158

With return statement, running tests using `shunit2 <file>` will print out
a warning message "can only `return' from a function or sourced script". This
regression has been introduced after the 2.1.8 release.
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.

Warning "can only `return' from a function or sourced script" when executing in standalone mode (in Bash shell)
1 participant