mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-04 08:47:11 +00:00
* test/automated/package-test.el (package-test-install-single):
Add a test for bug#21625.
This commit is contained in:
parent
81558130c1
commit
11f42149b1
@ -205,6 +205,12 @@ Must called from within a `tar-mode' buffer."
|
||||
(should (package-install-from-buffer))
|
||||
(package-initialize)
|
||||
(should (package-installed-p 'simple-single))
|
||||
;; Check if we properly report an "already installed".
|
||||
(package-install 'simple-single)
|
||||
(with-current-buffer "*Messages*"
|
||||
(should (string-match "^[`‘']simple-single[’'] is already installed\n?\\'"
|
||||
(buffer-string))))
|
||||
(should (package-installed-p 'simple-single))
|
||||
(let* ((simple-pkg-dir (file-name-as-directory
|
||||
(expand-file-name
|
||||
"simple-single-1.3"
|
||||
|
Loading…
Reference in New Issue
Block a user