We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f04af88 commit bc2dee7Copy full SHA for bc2dee7
spec/loops_spec.moon
@@ -0,0 +1,9 @@
1
+
2
+describe "loops", ->
3
+ it "should continue", ->
4
+ input = {1,2,3,4,5,6}
5
+ output = for x in *input
6
+ continue if x % 2 == 1
7
+ x
8
9
+ assert.same output, { 2,4,6 }
0 commit comments