diff --git a/tests/lang/foo.hy b/tests/lang/foo.hy index f14d1c6..051dc2a 100644 --- a/tests/lang/foo.hy +++ b/tests/lang/foo.hy @@ -1,4 +1,4 @@ ; vim: tabstop=2 expandtab shiftwidth=2 softtabstop=2 filetype=lisp -(def square (fn [arg] - (* arg arg))) +(defn square [arg] + (return (* arg arg))) diff --git a/tests/lang/kwargs.hy b/tests/lang/kwargs.hy index c8f6af1..39fc5c2 100644 --- a/tests/lang/kwargs.hy +++ b/tests/lang/kwargs.hy @@ -1,10 +1,10 @@ ; vim: tabstop=2 expandtab shiftwidth=2 softtabstop=2 filetype=lisp -(import ["tests.lang.test_kwargs"]) +(import "tests.lang.test_kwargs") -(def kiwi (fn [] - (kwapply (tests.lang.test_kwargs.shim "one" "two") { +(defn kiwi [] + (return (kwapply (tests.lang.test_kwargs.shim "one" "two") { "three" "three" "four" "four" - }) -)) + })) +)