language.hy whitespace fix
This commit is contained in:
parent
b8406dd920
commit
26b052c76e
@ -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 (= () [])))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user