diff options
Diffstat (limited to 'test/src/comp-tests.el')
| -rw-r--r-- | test/src/comp-tests.el | 4 |
1 files changed, 2 insertions, 2 deletions
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 #'<))))) |