aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorGravatar Tom Willemse2020-04-09 00:06:37 -0700
committerGravatar Tom Willemse2020-04-09 00:06:37 -0700
commit89d2b9a057a9d93edfec58ffc1fc060e12b49bb9 (patch)
treed81dcee5d4257e803dc6de996a8c1e560106fea0 /test
parented1af74205f87d7409ea86df4183e63cae4eb9f4 (diff)
downloademacs-config-89d2b9a057a9d93edfec58ffc1fc060e12b49bb9.tar.gz
emacs-config-89d2b9a057a9d93edfec58ffc1fc060e12b49bb9.zip
Excplicitly load ‘oni-ivy’ for testing
Diffstat (limited to 'test')
-rw-r--r--test/integration/oni-ivy.bats11
1 files changed, 8 insertions, 3 deletions
diff --git a/test/integration/oni-ivy.bats b/test/integration/oni-ivy.bats
index a284f58..050ac5e 100644
--- a/test/integration/oni-ivy.bats
+++ b/test/integration/oni-ivy.bats
@@ -1,7 +1,8 @@
#!/usr/bin/env bats
-@test "Opening emacs loads oni-ivy" {
+@test "Loading ivy loads oni-ivy" {
run emacs -batch -l package -f package-initialize \
+ -l ivy \
-eval "(prin1 (featurep 'oni-ivy))"
echo "$output"
@@ -9,8 +10,9 @@
[[ "$output" == *"t" ]]
}
-@test "Opening emacs diminishes ivy-mode" {
+@test "Loading ivy diminishes ivy-mode" {
run emacs -batch -l package -f package-initialize -l subr-x \
+ -l ivy \
-eval "(prin1 (string-empty-p (car (alist-get 'ivy-mode minor-mode-alist))))"
echo "$output"
@@ -20,6 +22,7 @@
@test "Reloading ivy diminishes ivy-mode" {
run emacs -batch -l package -f package-initialize -l subr-x \
+ -l ivy \
-eval "(load-library \"ivy\")" \
-eval "(prin1 (string-empty-p (car (alist-get 'ivy-mode minor-mode-alist))))"
@@ -28,8 +31,9 @@
[[ "$output" == *"t" ]]
}
-@test "Opening emacs diminishes ivy-posframe-mode" {
+@test "Loading ivy-posframe diminishes ivy-posframe-mode" {
run emacs -batch -l package -f package-initialize -l subr-x \
+ -l ivy-posframe \
-eval "(prin1 (string-empty-p (car (alist-get 'ivy-posframe-mode minor-mode-alist))))"
echo "$output"
@@ -39,6 +43,7 @@
@test "Reloading ivy-posframe diminishes ivy-posframe-mode" {
run emacs -batch -l package -f package-initialize -l subr-x \
+ -l ivy-posframe \
-eval "(load-library \"ivy-posframe\")" \
-eval "(prin1 (string-empty-p (car (alist-get 'ivy-posframe-mode minor-mode-alist))))"