mirror of
https://github.com/sstephenson/bats.git
synced 2024-12-28 15:39:44 +01:00
9 lines
138 B
Plaintext
9 lines
138 B
Plaintext
|
@test "setting a variable" {
|
||
|
variable=1
|
||
|
[ $variable -eq 1 ]
|
||
|
}
|
||
|
|
||
|
@test "variables do not persist across tests" {
|
||
|
[ -z "$variable" ]
|
||
|
}
|