From 89d2b9a057a9d93edfec58ffc1fc060e12b49bb9 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Thu, 9 Apr 2020 00:06:37 -0700 Subject: Excplicitly load ‘oni-ivy’ for testing --- test/integration/oni-ivy.bats | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'test/integration/oni-ivy.bats') 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))))" -- cgit v1.2.3-54-g00ecf