Fix integration test for ‘oni-cpp’
The output contains more than just the print statement in the test, but it ends with the result.
This commit is contained in:
parent
78cf5cb514
commit
08e73f9cac
1 changed files with 2 additions and 2 deletions
|
@ -1,11 +1,11 @@
|
|||
#!/usr/bin/env bats
|
||||
|
||||
@test "Opening a .cpp file loads oni-c++" {
|
||||
@test "Opening a .cpp file loads oni-cpp" {
|
||||
run emacs -batch -l package -f package-initialize \
|
||||
-visit test.cpp \
|
||||
-eval "(prin1 (featurep 'oni-cpp))"
|
||||
|
||||
echo "$output"
|
||||
|
||||
[ "$output" = "t" ]
|
||||
[[ "$output" == *"t" ]]
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue