mirror of
https://github.com/kennethreitz/bake.git
synced 2026-06-05 14:50:19 +00:00
13 lines
230 B
Bash
Executable File
13 lines
230 B
Bash
Executable File
#!/usr/bin/env bats
|
|
export BAKEFILE=self.Bakefile
|
|
|
|
@test "test echo" {
|
|
run bake --silent echo
|
|
[[ "${lines[0]}" == "42." ]]
|
|
}
|
|
|
|
@test "test subshell echo" {
|
|
run bake --silent also-echo
|
|
[[ "${lines[0]}" == "42." ]]
|
|
}
|