We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Do not use an eval, all tests must be hardcoded using an case/esac structure:
Security issue using eval for unnitests : Running unnitest may conduct to an arbitrary code execution.
The text was updated successfully, but these errors were encountered:
Template :
unnitest(){ typeset -a allTests while read oneTest ; do allTests+=($oneTest) done [[ "$1" == "{" ]] } alias ztest-block='unnitest<<"}"'
Sorry, something went wrong.
Internal test block template :
1. $NAME {$ARGS} return "$INT" 2. $NAME {$ARGS} output $TEST "$CONDITION" 3. $NAME {$ARGS} error $TEST "$CONDITION"
No branches or pull requests
Do not use an eval, all tests must be hardcoded using an case/esac structure:
Security issue using eval for unnitests : Running unnitest may conduct to an arbitrary code execution.
The text was updated successfully, but these errors were encountered: