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 []
"NATIVE: test checking if continue actually continues"
(setv y [])
(for [x (range 10)]
(if (!= x 5)
(continue))
(for [x (range 10)]
(if (!= x 5)
(continue))
(.append y x))
(assert (= y [5])))
(defn test-empty-list []
"Evaluate an empty list to a []"
(assert (= () [])))