From a2a474d87a9d8926e379ea38c3f0499e4e6d4cb0 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Tue, 7 Jan 2020 21:33:56 -0800 Subject: [PATCH] Add test loading oni-autohotkey --- test/integration/oni-autohotkey.bats | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 test/integration/oni-autohotkey.bats 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" ] +}