From c852297037cbf5fad63dc548530491e2d9fa3b48 Mon Sep 17 00:00:00 2001 From: Philip Kaludercic Date: Thu, 19 Mar 2026 21:38:11 +0100 Subject: [PATCH] ; 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. --- test/lisp/use-package/use-package-tests.el | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/test/lisp/use-package/use-package-tests.el b/test/lisp/use-package/use-package-tests.el index 0ae06b9f93f..57ab98e012b 100644 --- a/test/lisp/use-package/use-package-tests.el +++ b/test/lisp/use-package/use-package-tests.el @@ -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)