#!/usr/bin/env bats
@test "Opening a .ahk file loads oni-autohotkey" {
run emacs -batch -l package -f package-initialize \
-visit test.ahk \
-eval "(prin1 (featurep 'oni-autohotkey))"
[ "$output" = "t" ]
}