Skip to content

Commit

Permalink
Add macro result eval test.
Browse files Browse the repository at this point in the history
Test to cover bug kanaka#142
  • Loading branch information
kanaka committed Jan 20, 2016
1 parent 7acf3e0 commit e712c81
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/step8_macros.mal
Original file line number Diff line number Diff line change
Expand Up @@ -162,3 +162,12 @@ x
(let* [x (or nil "yes")] x)
;=>"yes"

;;
;; ------- Mostly broken (move up when fixed) --------------
;>>> soft=True

;; Testing evaluation of macro result
(defmacro! identity (fn* (x) x))
(let* (a 123) (identity a))
;=>123

0 comments on commit e712c81

Please sign in to comment.