Fix a few typos in the tests. Thanks again, @olasd
This commit is contained in:
parent
0f74b1ddf3
commit
110476901c
@ -41,7 +41,7 @@
|
|||||||
(assert (= count 150)))
|
(assert (= count 150)))
|
||||||
|
|
||||||
|
|
||||||
(defn test-nasty-nesting []
|
(defn test-nasty-for-nesting []
|
||||||
"NATIVE: test nesting for loops harder"
|
"NATIVE: test nesting for loops harder"
|
||||||
;; This test and feature is dedicated to @nedbat.
|
;; This test and feature is dedicated to @nedbat.
|
||||||
|
|
||||||
@ -65,7 +65,7 @@
|
|||||||
(else (throw Exception)))
|
(else (throw Exception)))
|
||||||
|
|
||||||
;; OK. This next test will ensure that the else is hooked up to the
|
;; OK. This next test will ensure that the else is hooked up to the
|
||||||
;; "outter" iteration
|
;; "outer" iteration
|
||||||
(for [x (range 2)
|
(for [x (range 2)
|
||||||
y (range 2)]
|
y (range 2)]
|
||||||
(if (= x 1) (break))
|
(if (= x 1) (break))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user