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