diff --git a/test/integration/oni-yasnippet.bats b/test/integration/oni-yasnippet.bats index ba31f06..db44a03 100644 --- a/test/integration/oni-yasnippet.bats +++ b/test/integration/oni-yasnippet.bats @@ -1,7 +1,8 @@ #!/usr/bin/env bats -@test "Opening Emacs loads oni-yasnippet" { +@test "Loading yasnippet loads oni-yasnippet" { run emacs -batch -l package -f package-initialize \ + -l yasnippet \ -eval "(prin1 (featurep 'oni-yasnippet))" echo "$output" @@ -9,8 +10,9 @@ [[ "$output" == *"t" ]] } -@test "Opening Emacs diminishes yas-minor-mode" { +@test "Loading yasnippet diminishes yas-minor-mode" { run emacs -batch -l package -f package-initialize -l subr-x \ + -l yasnippet \ -eval "(prin1 (string-empty-p (car (alist-get 'yas-minor-mode minor-mode-alist))))" echo "$output" @@ -20,6 +22,7 @@ @test "Reloading yasnippet diminishes yas-minor-mode" { run emacs -batch -l package -f package-initialize -l subr-x \ + -l yasnippet \ -eval "(load-library \"yasnippet\")" \ -eval "(prin1 (string-empty-p (car (alist-get 'yas-minor-mode minor-mode-alist))))"