summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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