mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-06-14 12:31:25 +00:00
; Adjust use-package tests for :vc
See https://lists.gnu.org/archive/html/emacs-devel/2026-03/msg00567.html. * test/lisp/use-package/use-package-tests.el (use-package-test-normalize/:vc): Drop or change expected to match change that interprets a string argument to :vc in the same manner as 'package-vc-install.
This commit is contained in:
parent
72c262d5d1
commit
c852297037
1 changed files with 2 additions and 4 deletions
|
|
@ -2031,10 +2031,8 @@
|
|||
(should (eq tried-to-install 'some-pkg)))))
|
||||
|
||||
(ert-deftest use-package-test-normalize/:vc ()
|
||||
(should (equal '(foo "version-string")
|
||||
(use-package-normalize/:vc 'foo :vc '("version-string"))))
|
||||
(should (equal '(bar "version-string")
|
||||
(use-package-normalize/:vc 'foo :vc '((bar . "version-string")))))
|
||||
(should (equal '(foo (:url "url"))
|
||||
(use-package-normalize/:vc 'foo :vc '("url"))))
|
||||
(should (equal '(foo (:url "bar") "baz")
|
||||
(use-package-normalize/:vc 'foo :vc '((:url "bar" :rev "baz")))))
|
||||
(should (equal '(foo)
|
||||
|
|
|
|||
Loading…
Reference in a new issue