From 89d2b9a057a9d93edfec58ffc1fc060e12b49bb9 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Thu, 9 Apr 2020 00:06:37 -0700 Subject: [PATCH] =?UTF-8?q?Excplicitly=20load=20=E2=80=98oni-ivy=E2=80=99?= =?UTF-8?q?=20for=20testing?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/integration/oni-ivy.bats | 11 ++++++++--- 1 file 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))))"