diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/integration/oni-cpp.bats | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/integration/oni-cpp.bats b/test/integration/oni-cpp.bats new file mode 100644 index 0000000..e8a9769 --- /dev/null +++ b/test/integration/oni-cpp.bats @@ -0,0 +1,11 @@ +#!/usr/bin/env bats + +@test "Opening a .cpp file loads oni-c++" { + run emacs -batch -l package -f package-initialize \ + -visit test.cpp \ + -eval "(prin1 (featurep 'oni-c++))" + + echo "$output" + + [ "$output" = "t" ] +} |