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:
parent
c6fa0ad315
commit
af72f6d510
2 changed files with 3 additions and 2 deletions
|
@ -21,7 +21,8 @@
|
|||
|
||||
;;; Code:
|
||||
|
||||
(require 'cl)
|
||||
(with-no-warnings
|
||||
(require 'cl))
|
||||
(require 'ert)
|
||||
|
||||
|
||||
|
|
|
@ -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))))
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue