9 lines
232 B
Bash
9 lines
232 B
Bash
#!/usr/bin/env bats
|
|
|
|
@test "Loading an AHK file loads oni-autohotkey" {
|
|
run emacs -batch -l package -f package-initialize \
|
|
-visit test.ahk \
|
|
-eval "(prin1 (featurep 'oni-autohotkey))"
|
|
|
|
[ "$output" = "t" ]
|
|
}
|