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

12 lines
238 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-c++" {
run emacs -batch -l package -f package-initialize \
-visit test.cpp \
-eval "(prin1 (featurep 'oni-c++))"
echo "$output"
[ "$output" = "t" ]
}