diff --git a/tests/native_tests/language.hy b/tests/native_tests/language.hy index 04669fa..4213a2c 100644 --- a/tests/native_tests/language.hy +++ b/tests/native_tests/language.hy @@ -23,7 +23,12 @@ (def count 0) (for [x [1 2 3 4 5]] (def count (+ count x))) - (assert (= count 15))) + (assert (= count 15)) + (def count 0) + (for [x [1 2 3 4 5] + y [1 2 3 4 5]] + (def count (+ count x y))) + (assert (= count 140))) (defn test-in []