diff options
| author | 2020-01-13 18:13:16 -0800 | |
|---|---|---|
| committer | 2020-01-13 18:13:16 -0800 | |
| commit | c23059b74ed8787d7854496b753a3cf27a6cf045 (patch) | |
| tree | d0a5a5dcaf5872dbf82dbe80b14a19c0faaee969 /test | |
| parent | 2bc74ded5b8a6298d1a729b8014402f3e1c7497c (diff) | |
| download | emacs-config-c23059b74ed8787d7854496b753a3cf27a6cf045.tar.gz emacs-config-c23059b74ed8787d7854496b753a3cf27a6cf045.zip | |
Add integration test for oni-c++
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" ] +} |
