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.
This commit is contained in:
Stefan Kangas 2020-10-01 15:34:08 +02:00
parent c6fa0ad315
commit af72f6d510
2 changed files with 3 additions and 2 deletions

View file

@ -21,7 +21,8 @@
;;; Code:
(require 'cl)
(with-no-warnings
(require 'cl))
(require 'ert)

View file

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