mirror of
https://github.com/sstephenson/bats.git
synced 2024-12-28 15:39:44 +01:00
20 lines
331 B
Plaintext
20 lines
331 B
Plaintext
|
@test "success writing to stdout" {
|
||
|
echo "success stdout 1"
|
||
|
echo "success stdout 2"
|
||
|
}
|
||
|
|
||
|
@test "success writing to stderr" {
|
||
|
echo "success stderr" >&2
|
||
|
}
|
||
|
|
||
|
@test "failure writing to stdout" {
|
||
|
echo "failure stdout 1"
|
||
|
echo "failure stdout 2"
|
||
|
false
|
||
|
}
|
||
|
|
||
|
@test "failure writing to stderr" {
|
||
|
echo "failure stderr" >&2
|
||
|
false
|
||
|
}
|