1
0
Fork 0
emacs-config/test/integration/oni-smartparens.bats
Tom Willemse c9ad4acc44 Check that the output of the ‘oni-smartparens’ test ends in t
There can be other output, but that doesn’t mean the test failed, as long as t
is the last thing.
2021-02-24 21:14:49 -08:00

11 lines
257 B
Bash
Executable file

#!/usr/bin/env bats
@test "Loading smartparens loads oni-smartparens" {
run emacs -batch -l package -f package-initialize \
-l smartparens \
-eval "(prin1 (featurep 'oni-smartparens))"
echo "$output"
[[ "$output" == *"t" ]]
}