Skip to content

Commit 1511847

Browse files
authored
Update groovy.md
Update fix to snippet to better align to subsequent exercise
1 parent 87ebd3f commit 1511847

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/basic_training/groovy.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -371,8 +371,8 @@ else {
371371
The `else` branch is optional. Also, the curly brackets are optional when the branch defines just a single statement.
372372

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

0 commit comments

Comments
 (0)