diff options
author | Tom Willemse | 2020-09-07 14:44:32 -0700 |
---|---|---|
committer | Tom Willemse | 2020-09-07 14:44:32 -0700 |
commit | 1e2b6678de1495bdfb4e70f312aff25d48006750 (patch) | |
tree | 223ffb05d8f4005ca3f5d664d34608f2f9382b97 /test | |
parent | 2e672668d93c42d4d622930ca2fd6a7783aa7097 (diff) | |
download | emacs-config-1e2b6678de1495bdfb4e70f312aff25d48006750.tar.gz emacs-config-1e2b6678de1495bdfb4e70f312aff25d48006750.zip |
Add ‘oni-lua’
Diffstat (limited to 'test')
-rwxr-xr-x | test/integration/oni-lua.bats | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/integration/oni-lua.bats b/test/integration/oni-lua.bats new file mode 100755 index 0000000..4040518 --- /dev/null +++ b/test/integration/oni-lua.bats @@ -0,0 +1,11 @@ +#!/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" ]] +} |