Tom Willemse
c9ad4acc44
There can be other output, but that doesn’t mean the test failed, as long as t is the last thing.
11 lines
257 B
Bash
Executable file
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" ]]
|
|
}
|