11 lines
251 B
Bash
Executable file
11 lines
251 B
Bash
Executable file
#!/usr/bin/env bats
|
|
|
|
@test "Opening a .bats file loads oni-bats" {
|
|
run emacs -batch -l package -f package-initialize \
|
|
-visit test.bats \
|
|
-eval "(prin1 (featurep 'oni-bats))"
|
|
|
|
echo "\"$output\""
|
|
|
|
[[ "$output" == *"t" ]]
|
|
}
|