Skip to content

Commit 9bfc286

Browse files
authored
Update groovy.md
Switched `> 10` to `< 10` in If statement example, so that it it produces the expected output
1 parent 2e1b6c0 commit 9bfc286

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/basic_training/groovy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ The `else` branch is optional. Also, the curly brackets are optional when the br
372372

373373
```groovy linenums="1" title="snippet.nf"
374374
x = 1
375-
if (x > 10)
375+
if (x < 10)
376376
println 'Hello'
377377
```
378378

0 commit comments

Comments
 (0)