From c23059b74ed8787d7854496b753a3cf27a6cf045 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Mon, 13 Jan 2020 18:13:16 -0800 Subject: Add integration test for oni-c++ --- test/integration/oni-cpp.bats | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 test/integration/oni-cpp.bats (limited to 'test') 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" ] +} -- cgit v1.3-2-g0d8e