mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
(package-test-install-single): Fix test failure
* test/lisp/emacs-lisp/package-tests.el (package-test-install-single): We signal an error only for interactive calls now.
This commit is contained in:
parent
ba7c2debef
commit
b5b7504c73
1 changed files with 1 additions and 1 deletions
|
|
@ -242,7 +242,7 @@ Must called from within a `tar-mode' buffer."
|
|||
(should (package-installed-p 'simple-single))
|
||||
;; Check if we properly report an "already installed".
|
||||
(should (condition-case nil
|
||||
(progn (package-install 'simple-single) nil)
|
||||
(progn (package-install 'simple-single nil 'interactive) nil)
|
||||
(user-error t)))
|
||||
(should (package-installed-p 'simple-single))
|
||||
(let* ((simple-pkg-dir (file-name-as-directory
|
||||
|
|
|
|||
Loading…
Reference in a new issue