From 38a714b5c51d1156c458c9196660765a1151ad40 Mon Sep 17 00:00:00 2001 From: "Paul R. Tagliamonte" Date: Sun, 7 Apr 2013 19:44:52 -0400 Subject: [PATCH] Adding more tests; new entries --- NEWS | 1 + tests/native_tests/language.hy | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index ca1932d..b2a7106 100644 --- a/NEWS +++ b/NEWS @@ -2,6 +2,7 @@ Changes from Hy 0.9.4 [ Syntax Fixes ] + * Statements in the `fn' path early will not return anymore. (PT) * Added "not" as the inline "not" operator. It's advised to still use "not-in" or "is-not" rather then nesting. (JD) * `let' macro added (PT) diff --git a/tests/native_tests/language.hy b/tests/native_tests/language.hy index 6b00a3e..35abf96 100644 --- a/tests/native_tests/language.hy +++ b/tests/native_tests/language.hy @@ -445,7 +445,11 @@ [y 2]] (if true 2) - 1)))) + 1))) + (assert (= 1 (let [[x 1] [y 2]] + (pass) + (pass) + ((fn [] 1)))))) ; FEATURE: native hy-eval