mirror of
https://github.com/sstephenson/bats.git
synced 2024-09-29 12:38:26 +02:00
9 lines
138 B
Bash
9 lines
138 B
Bash
@test "setting a variable" {
|
|
variable=1
|
|
[ $variable -eq 1 ]
|
|
}
|
|
|
|
@test "variables do not persist across tests" {
|
|
[ -z "$variable" ]
|
|
}
|