aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/src/comp-test-funcs.el1
-rw-r--r--test/src/comp-tests.el4
2 files changed, 2 insertions, 3 deletions
diff --git a/test/src/comp-test-funcs.el b/test/src/comp-test-funcs.el
index 4fc62482a0d..dbc90771774 100644
--- a/test/src/comp-test-funcs.el
+++ b/test/src/comp-test-funcs.el
@@ -185,7 +185,6 @@
185(defun comp-tests-err-foo-f () 185(defun comp-tests-err-foo-f ()
186 (error "foo")) 186 (error "foo"))
187 187
188;;FIXME: horrible...
189(defun comp-tests-condition-case-0-f () 188(defun comp-tests-condition-case-0-f ()
190 ;; Bpushhandler Bpophandler 189 ;; Bpushhandler Bpophandler
191 (condition-case 190 (condition-case
diff --git a/test/src/comp-tests.el b/test/src/comp-tests.el
index 331e1cfed16..4f4005bea66 100644
--- a/test/src/comp-tests.el
+++ b/test/src/comp-tests.el
@@ -29,7 +29,7 @@
29(require 'cl-lib) 29(require 'cl-lib)
30(require 'comp) 30(require 'comp)
31 31
32(setq comp-speed 0) 32(setq comp-speed 3)
33 33
34(defconst comp-test-src 34(defconst comp-test-src
35 (concat (file-name-directory (or load-file-name buffer-file-name)) 35 (concat (file-name-directory (or load-file-name buffer-file-name))
@@ -205,7 +205,7 @@
205 205
206(ert-deftest comp-tests-bubble-sort () 206(ert-deftest comp-tests-bubble-sort ()
207 "Run bubble sort." 207 "Run bubble sort."
208 (let* ((list1 (mapcar 'random (make-list 1000 most-positive-fixnum))) 208 (let* ((list1 (mapcar #'random (make-list 1000 most-positive-fixnum)))
209 (list2 (copy-sequence list1))) 209 (list2 (copy-sequence list1)))
210 (should (equal (comp-bubble-sort-f list1) 210 (should (equal (comp-bubble-sort-f list1)
211 (sort list2 #'<))))) 211 (sort list2 #'<)))))