branch: elpa/buttercup commit 4459f3794fde076c019c6b502266dd9ee1bb9960 Author: Kevin J. Foley <kfole...@gmail.com> Commit: Kevin J. Foley <kfole...@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"