Remove old assert_fails
This commit is contained in:
parent
523df74b72
commit
d244a706f3
1 changed files with 0 additions and 8 deletions
|
|
@ -24,14 +24,6 @@
|
|||
|
||||
set -euo pipefail
|
||||
|
||||
assert_fails() {
|
||||
! "$@" || {
|
||||
echo "Expected command to fail, but it succeeded."
|
||||
exit 1
|
||||
}
|
||||
}
|
||||
export -f assert_fails
|
||||
|
||||
# helper functions inspired by bats/bats-assert
|
||||
run() {
|
||||
set +e
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue