2020-01-15 07:02:08 +01:00
|
|
|
#!/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"
|
|
|
|
|
2021-02-25 06:14:49 +01:00
|
|
|
[[ "$output" == *"t" ]]
|
2020-01-15 07:02:08 +01:00
|
|
|
}
|