1
0
Fork 0
emacs-config/test/integration/oni-cpp.bats

11 lines
238 B
Bash

#!/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" ]
}