[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master af72f6d: Silence byte-compiler in two tests
From: |
Stefan Kangas |
Subject: |
master af72f6d: Silence byte-compiler in two tests |
Date: |
Thu, 1 Oct 2020 09:35:23 -0400 (EDT) |
branch: master
commit af72f6d5109ba2b6e92bbc6f1ef12d83dae70e13
Author: Stefan Kangas <stefan@marxist.se>
Commit: Stefan Kangas <stefan@marxist.se>
Silence byte-compiler in two tests
* test/lisp/obsolete/cl-tests.el (require):
* test/lisp/simple-tests.el (simple-test-count-words-bug-41761):
Silence byte-compiler.
---
test/lisp/obsolete/cl-tests.el | 3 ++-
test/lisp/simple-tests.el | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/test/lisp/obsolete/cl-tests.el b/test/lisp/obsolete/cl-tests.el
index 37061df..3f3fda3 100644
--- a/test/lisp/obsolete/cl-tests.el
+++ b/test/lisp/obsolete/cl-tests.el
@@ -21,7 +21,8 @@
;;; Code:
-(require 'cl)
+(with-no-warnings
+ (require 'cl))
(require 'ert)
diff --git a/test/lisp/simple-tests.el b/test/lisp/simple-tests.el
index 457de91..d4b3168 100644
--- a/test/lisp/simple-tests.el
+++ b/test/lisp/simple-tests.el
@@ -44,7 +44,7 @@
;;; `count-words'
(ert-deftest simple-test-count-words-bug-41761 ()
(with-temp-buffer
- (dotimes (i 10) (insert (propertize "test " 'field (cons nil nil))))
+ (dotimes (_i 10) (insert (propertize "test " 'field (cons nil nil))))
(should (= (count-words (point-min) (point-max)) 10))))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master af72f6d: Silence byte-compiler in two tests,
Stefan Kangas <=