From 4a2463eca0b366f67c6fa0be580bdacd62ba83d0 Mon Sep 17 00:00:00 2001 From: Funtov Kirill Date: Mon, 10 Apr 2023 19:52:49 +0300 Subject: [PATCH] Small groovy bang fix --- groovy.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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