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

12 lines
242 B
Text
Raw Normal View History

2020-01-14 03:13:16 +01:00
#!/usr/bin/env bats
@test "Opening a .cpp file loads oni-cpp" {
2020-01-14 03:13:16 +01:00
run emacs -batch -l package -f package-initialize \
-visit test.cpp \
-eval "(prin1 (featurep 'oni-cpp))"
2020-01-14 03:13:16 +01:00
echo "$output"
[[ "$output" == *"t" ]]
2020-01-14 03:13:16 +01:00
}