summaryrefslogtreecommitdiffhomepage
path: root/pt-br/groovy-pt.html.markdown
diff options
context:
space:
mode:
Diffstat (limited to 'pt-br/groovy-pt.html.markdown')
-rw-r--r--pt-br/groovy-pt.html.markdown6
1 files changed, 4 insertions, 2 deletions
diff --git a/pt-br/groovy-pt.html.markdown b/pt-br/groovy-pt.html.markdown
index 2ec7d967..aed23df1 100644
--- a/pt-br/groovy-pt.html.markdown
+++ b/pt-br/groovy-pt.html.markdown
@@ -1,7 +1,7 @@
---
language: Groovy
category: language
-filename: learngroovy.groovy
+filename: learngroovy-pt.groovy
contributors:
- ["Roberto PĂ©rez Alcolea", "http://github.com/rpalcolea"]
translators:
@@ -226,10 +226,12 @@ for (i in array) {
//Itera sobre um mapa
def map = ['name':'Roberto', 'framework':'Grails', 'language':'Groovy']
-x = 0
+x = ""
for ( e in map ) {
x += e.value
+ x += " "
}
+assert x.equals("Roberto Grails Groovy ")
/*
Operadores