[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
feature/pkg 403f69511a: Fix byte-compiler warnings in tests
From: |
Gerd Moellmann |
Subject: |
feature/pkg 403f69511a: Fix byte-compiler warnings in tests |
Date: |
Sat, 29 Oct 2022 08:27:17 -0400 (EDT) |
branch: feature/pkg
commit 403f69511a8a2c543916c4c55f7f2ff8b6bff0f4
Author: Gerd Möllmann <gerd@gnu.org>
Commit: Gerd Möllmann <gerd@gnu.org>
Fix byte-compiler warnings in tests
* test/src/pkg-tests.el (pkg-tests-*package*): Fix empty let.
(pkg-tests-use-package): Make local var status ignored.
---
test/src/pkg-tests.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/src/pkg-tests.el b/test/src/pkg-tests.el
index df44859fa4..9ddef8ebc7 100644
--- a/test/src/pkg-tests.el
+++ b/test/src/pkg-tests.el
@@ -49,7 +49,7 @@
(ert-deftest pkg-tests-*package* ()
(should (eq (let ((*package* (find-package "emacs"))) 'good) 'good))
(should-error (let ((*package* :emacs)) nil))
- (should-error (let ((*package* 1))))
+ (should-error (let ((*package* 1)) nil))
(should-error (setq *package* :keyword))
(should-error (makunbound *package*))
(with-temp-buffer
@@ -206,7 +206,7 @@
(let ((sym-a (intern "a" x)))
(should (eq (symbol-package sym-a) x))
(use-package x y)
- (cl-multiple-value-bind (sym status)
+ (cl-multiple-value-bind (sym _status)
(find-symbol "a" y)
(should (null sym))
(when nil
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- feature/pkg 403f69511a: Fix byte-compiler warnings in tests,
Gerd Moellmann <=