This commit is contained in:
2026-08-02 15:26:07 +02:00
parent 336b36c8e1
commit b2eb145a6f
415 changed files with 24264 additions and 36 deletions
@@ -0,0 +1,5 @@
@test "a complex failing test" {
echo 123
run bats "$BATS_TEST_DIRNAME/failing.bats"
[ $status -eq 0 ]
}
@@ -0,0 +1,13 @@
fun() {
echo "$1"
if [[ $1 -gt 0 ]]; then
fun $(($1 - 1))
fi
}
@test "a recursive failing test" {
echo Outer
fun 2
run fun 2
false
}