; 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:
Philip Kaludercic 2026-03-19 21:38:11 +01:00
parent 72c262d5d1
commit c852297037
No known key found for this signature in database

View file

@ -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)