diff options
author | Tom Willemse | 2020-04-09 00:06:37 -0700 |
---|---|---|
committer | Tom Willemse | 2020-04-09 00:06:37 -0700 |
commit | 89d2b9a057a9d93edfec58ffc1fc060e12b49bb9 (patch) | |
tree | d81dcee5d4257e803dc6de996a8c1e560106fea0 /test/integration | |
parent | ed1af74205f87d7409ea86df4183e63cae4eb9f4 (diff) | |
download | emacs-config-89d2b9a057a9d93edfec58ffc1fc060e12b49bb9.tar.gz emacs-config-89d2b9a057a9d93edfec58ffc1fc060e12b49bb9.zip |
Excplicitly load ‘oni-ivy’ for testing
Diffstat (limited to 'test/integration')
-rw-r--r-- | test/integration/oni-ivy.bats | 11 |
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))))" |