This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
dagger/stdlib/bats/tests/testfile/test.bats
Sam Alba c310a1bcdb stdlib/bats: implemented integration tests
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2021-12-13 21:07:37 -08:00

13 lines
217 B
Bash

setup() {
load 'node_modules/bats-support/load'
load 'node_modules/bats-assert/load'
}
@test "simple bats test" {
run echo "Hello world"
assert_success
run cat /do/not/exist
assert_failure
}