]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix a unit test for map.el
authorNicolas Petton <nicolas@petton.fr>
Fri, 5 Jun 2015 23:54:51 +0000 (01:54 +0200)
committerNicolas Petton <nicolas@petton.fr>
Fri, 5 Jun 2015 23:54:51 +0000 (01:54 +0200)
* test/automated/map-tests.el (test-map-let): Fix the test to work
with the new syntax of `map-let'.

test/automated/map-tests.el

index 96fc9b15a25740a84cfb9ae4e0746d71d008c564..abda03d9d045552f856b1e905b1744967ae3956f 100644 (file)
@@ -322,9 +322,9 @@ Evaluate BODY for each created map.
     (should (= foo 1))
     (should (= bar 2))
     (should (null baz)))
-  (map-let ((foo . a)
-            (bar . b)
-            (baz . c)) '((foo . 1) (bar . 2))
+  (map-let (('foo a)
+            ('bar b)
+            ('baz c)) '((foo . 1) (bar . 2))
     (should (= a 1))
     (should (= b 2))
     (should (null c))))