diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/lisp/emacs-lisp/map-tests.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lisp/emacs-lisp/map-tests.el b/test/lisp/emacs-lisp/map-tests.el index 3ffef177711..1888baf6017 100644 --- a/test/lisp/emacs-lisp/map-tests.el +++ b/test/lisp/emacs-lisp/map-tests.el | |||
| @@ -227,7 +227,7 @@ Evaluate BODY for each created map. | |||
| 227 | (with-maps-do map | 227 | (with-maps-do map |
| 228 | (let ((result nil)) | 228 | (let ((result nil)) |
| 229 | (map-do (lambda (k v) | 229 | (map-do (lambda (k v) |
| 230 | (add-to-list 'result (list (int-to-string k) v))) | 230 | (push (list (int-to-string k) v) result)) |
| 231 | map) | 231 | map) |
| 232 | (should (equal result '(("2" 5) ("1" 4) ("0" 3))))))) | 232 | (should (equal result '(("2" 5) ("1" 4) ("0" 3))))))) |
| 233 | 233 | ||