emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master b0c0b96 3/3: Fix a unit test for map.el


From: Nicolas Petton
Subject: [Emacs-diffs] master b0c0b96 3/3: Fix a unit test for map.el
Date: Fri, 05 Jun 2015 23:55:48 +0000

branch: master
commit b0c0b96ee3525f65554e61d1c74b8325fe9f53cd
Author: Nicolas Petton <address@hidden>
Commit: Nicolas Petton <address@hidden>

    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 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/test/automated/map-tests.el b/test/automated/map-tests.el
index 96fc9b1..abda03d 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))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]