diff --git a/test/integration/oni-cpp.bats b/test/integration/oni-cpp.bats index eb44d17..756fd4a 100644 --- a/test/integration/oni-cpp.bats +++ b/test/integration/oni-cpp.bats @@ -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" ]] }