From b0c0b96ee3525f65554e61d1c74b8325fe9f53cd Mon Sep 17 00:00:00 2001 From: Nicolas Petton Date: Sat, 6 Jun 2015 01:54:51 +0200 Subject: [PATCH] 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'. --- test/automated/map-tests.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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)))) -- 2.39.5