test that functions don't evaluate to themselves
There was a bug at some point that fennel assumed a function call would evaluate to the function being called, which is not true.
This commit is contained in:
parent
3c1e01da6f
commit
dce69a2b24
@ -111,6 +111,9 @@ except that it sets a new message handler `msgh`.")
|
||||
(check "(λ foo| [{:list [a b c] :table {: d : e : f}}]
|
||||
:body)"
|
||||
"```fnl\n(foo {:list [a b c] :table {: d : e : f}})\n```")
|
||||
|
||||
(check "(local x| print)" #($:find "print"))
|
||||
(check "(local x| (print))" nil)
|
||||
nil)
|
||||
|
||||
(fn test-multisym []
|
||||
|
||||
Loading…
Reference in New Issue
Block a user