emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[nongnu] elpa/buttercup 4459f37 199/340: Add test for :var* argument


From: ELPA Syncer
Subject: [nongnu] elpa/buttercup 4459f37 199/340: Add test for :var* argument
Date: Thu, 16 Dec 2021 14:59:34 -0500 (EST)

branch: elpa/buttercup
commit 4459f3794fde076c019c6b502266dd9ee1bb9960
Author: Kevin J. Foley <kfoley15@gmail.com>
Commit: Kevin J. Foley <kfoley15@gmail.com>

    Add test for :var* argument
---
 tests/test-buttercup.el | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/tests/test-buttercup.el b/tests/test-buttercup.el
index 5a660e6..b78c104 100644
--- a/tests/test-buttercup.el
+++ b/tests/test-buttercup.el
@@ -379,7 +379,12 @@
     (expect (macroexpand '(describe "description" :var (foo bar) (+ foo bar)))
             :to-equal
             '(buttercup-describe "description"
-                                 (lambda () (let (foo bar) (+ foo bar)))))))
+                                 (lambda () (let (foo bar) (+ foo bar))))))
+  (it "should support the :var* argument"
+    (expect (macroexpand '(describe "description" :var* (foo bar) (+ foo bar)))
+            :to-equal
+            '(buttercup-describe "description"
+                                 (lambda () (let* (foo bar) (+ foo bar)))))))
 
 (describe "The `buttercup-describe' function"
   (it "should run the enclosing body"



reply via email to

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