summaryrefslogtreecommitdiffhomepage
path: root/groovy.html.markdown
diff options
context:
space:
mode:
authorMarcel Ribeiro-Dantas <ribeirodantasdm@gmail.com>2023-04-10 15:11:06 -0300
committerGitHub <noreply@github.com>2023-04-10 15:11:06 -0300
commitc035db7a671d9530fafb87a6f9508a8a87fe9092 (patch)
treebe342ac8b5bd5897c443585ef1c72a652c76a846 /groovy.html.markdown
parent107b30ce2ced44ea3a641d7181779fd0d8bb4e18 (diff)
parent4a2463eca0b366f67c6fa0be580bdacd62ba83d0 (diff)
Merge pull request #4640 from funtaps/patch-1
[groovy/en] Small groovy bang fix
Diffstat (limited to 'groovy.html.markdown')
-rw-r--r--groovy.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/groovy.html.markdown b/groovy.html.markdown
index 0d589c10..fa0658a4 100644
--- a/groovy.html.markdown
+++ b/groovy.html.markdown
@@ -193,7 +193,7 @@ def say(msg = 'Hello', name = 'world') {
assert 'Hello world!' == say()
// Right most parameter with default value is eliminated first.
assert 'Hi world!' == say('Hi')
-assert 'learn groovy' == say('learn', 'groovy')
+assert 'learn groovy!' == say('learn', 'groovy')
/*
Logical Branching and Looping