Skip to content

Commit

Permalink
Add tests for DEFUN!
Browse files Browse the repository at this point in the history
  • Loading branch information
EuAndreh committed Aug 24, 2015
1 parent f321d95 commit 598307c
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion t/let-over-lambda.lisp
Expand Up @@ -11,7 +11,19 @@

;; NOTE: To run this test file, execute `(asdf:test-system :let-over-lambda)' in your Lisp.

(plan 7)
(plan 8)

(defun! fn! ()
`(let ((,g!test 123))
,g!test))

(defmacro fn-macro ()
(fn!))

(deftest defun!-test
(is-expand (fn-macro)
(LET (($TEST 123))
$TEST)))

(defparameter flatten-list `(D (E (F ,'(G)))))

Expand Down

0 comments on commit 598307c

Please sign in to comment.