diff options
author | Tom Willemse | 2020-05-02 18:32:01 -0700 |
---|---|---|
committer | Tom Willemse | 2020-05-02 18:32:01 -0700 |
commit | 45b66d826af06995f7084f4ff35c7119c0d69231 (patch) | |
tree | deb93d9fbbdc89f202d00ed2ff0b934e27e85398 /test/integration/oni-bat.bats | |
parent | 2937d3979224884930dde3a9a204c868a1c8526a (diff) | |
download | emacs-config-45b66d826af06995f7084f4ff35c7119c0d69231.tar.gz emacs-config-45b66d826af06995f7084f4ff35c7119c0d69231.zip |
Enable ‘bmx-mode’
‘bmx-mode’ is a package to be used with ‘bat-mode’.
Diffstat (limited to 'test/integration/oni-bat.bats')
-rwxr-xr-x | test/integration/oni-bat.bats | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/integration/oni-bat.bats b/test/integration/oni-bat.bats new file mode 100755 index 0000000..a4193b5 --- /dev/null +++ b/test/integration/oni-bat.bats @@ -0,0 +1,11 @@ +#!/usr/bin/env bats + +@test "Opening a .bat file loads oni-bats" { + run emacs -batch -l package -f package-initialize \ + -visit test.css \ + -eval "(prin1 (featurep 'oni-css))" + + echo "$output" + + [[ "$output" == *"t" ]] +} |