From: Nicolas Petton Date: Fri, 5 Jun 2015 23:54:51 +0000 (+0200) Subject: Fix a unit test for map.el X-Git-Tag: emacs-25.0.90~1847 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b0c0b96ee3525f65554e61d1c74b8325fe9f53cd;p=emacs.git Fix a unit test for map.el * test/automated/map-tests.el (test-map-let): Fix the test to work with the new syntax of `map-let'. --- diff --git a/test/automated/map-tests.el b/test/automated/map-tests.el index 96fc9b15a25..abda03d9d04 100644 --- a/test/automated/map-tests.el +++ b/test/automated/map-tests.el @@ -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))))