summaryrefslogtreecommitdiff
path: root/test/src/regex-tests.el
diff options
context:
space:
mode:
authorMichal Nazarewicz <mina86@mina86.com>2016-07-27 18:38:41 +0200
committerMichal Nazarewicz <mina86@mina86.com>2016-08-02 15:39:10 +0200
commit7496844e7dd8b5c852df0b2525299d2dc9d71bb4 (patch)
tree9c388bf9408397bb537c45f8ffa8f94435f102d6 /test/src/regex-tests.el
parent82a487d522106c1c5afb00f2fa6c9055e37ba5ad (diff)
downloademacs-7496844e7dd8b5c852df0b2525299d2dc9d71bb4.tar.gz
emacs-7496844e7dd8b5c852df0b2525299d2dc9d71bb4.tar.bz2
emacs-7496844e7dd8b5c852df0b2525299d2dc9d71bb4.zip
Don’t (require 'cl)
* test/src/regex-test.el: Don’t (require 'cl). (regex-tests-PCRE): s/loop/cl-loop/
Diffstat (limited to 'test/src/regex-tests.el')
-rw-r--r--test/src/regex-tests.el7
1 files changed, 3 insertions, 4 deletions
diff --git a/test/src/regex-tests.el b/test/src/regex-tests.el
index 1407441965a..97b9633bada 100644
--- a/test/src/regex-tests.el
+++ b/test/src/regex-tests.el
@@ -20,7 +20,6 @@
;;; Code:
(require 'ert)
-(require 'cl)
(ert-deftest regex-word-cc-fallback-test ()
"Test that ‘[[:cc:]]*x’ matches ‘x’ (bug#24020).
@@ -516,9 +515,9 @@ differences in behavior.")
('invalid-regexp 'compilation-failed))
matches-observed
- (loop for x from 0 to 20
- collect (and (not what-failed)
- (or (match-string x string) "<unset>")))))
+ (cl-loop for x from 0 to 20
+ collect (and (not what-failed)
+ (or (match-string x string) "<unset>")))))
nil)
;; verification line: failed match