1
0
Fork 0
emacs-config/test/integration/oni-lua.bats

12 lines
242 B
Text
Raw Permalink Normal View History

2020-09-07 23:44:32 +02:00
#!/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" ]]
}