aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/integration/oni-autohotkey.bats9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/integration/oni-autohotkey.bats b/test/integration/oni-autohotkey.bats
new file mode 100644
index 0000000..1a90aa2
--- /dev/null
+++ b/test/integration/oni-autohotkey.bats
@@ -0,0 +1,9 @@
+#!/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" ]
+}