language.hy whitespace fix

This commit is contained in:
Nicolas Dandrimont 2013-11-02 20:49:55 +01:00
parent b8406dd920
commit 26b052c76e

View File

@ -788,13 +788,12 @@
(defn test-continue-continuation [] (defn test-continue-continuation []
"NATIVE: test checking if continue actually continues" "NATIVE: test checking if continue actually continues"
(setv y []) (setv y [])
(for [x (range 10)] (for [x (range 10)]
(if (!= x 5) (if (!= x 5)
(continue)) (continue))
(.append y x)) (.append y x))
(assert (= y [5]))) (assert (= y [5])))
(defn test-empty-list [] (defn test-empty-list []
"Evaluate an empty list to a []" "Evaluate an empty list to a []"
(assert (= () []))) (assert (= () [])))