You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by su...@apache.org on 2020/11/28 12:32:02 UTC
[groovy] branch master updated: Tweak test for doco
This is an automated email from the ASF dual-hosted git repository.
sunlan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/groovy.git
The following commit(s) were added to refs/heads/master by this push:
new 892a13e Tweak test for doco
892a13e is described below
commit 892a13e4f6cf1725024c7f762e41a9567121bc9d
Author: Daniel Sun <su...@apache.org>
AuthorDate: Sat Nov 28 20:31:42 2020 +0800
Tweak test for doco
---
.../groovy-ginq/src/spec/test/org/apache/groovy/ginq/GinqTest.groovy | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/subprojects/groovy-ginq/src/spec/test/org/apache/groovy/ginq/GinqTest.groovy b/subprojects/groovy-ginq/src/spec/test/org/apache/groovy/ginq/GinqTest.groovy
index 0b9f26d..78938ee 100644
--- a/subprojects/groovy-ginq/src/spec/test/org/apache/groovy/ginq/GinqTest.groovy
+++ b/subprojects/groovy-ginq/src/spec/test/org/apache/groovy/ginq/GinqTest.groovy
@@ -3103,7 +3103,7 @@ class GinqTest {
void "testGinq - GQL - 8"() {
assertScript '''
// tag::ginq_tips_06[]
- assert [2, 3, 4] == GQL {from n in [1, 2, 3] select n + 1}
+ assert [4, 16, 36, 64, 100] == GQL {from n in 1..<11 where n % 2 == 0 select n ** 2}
// end::ginq_tips_06[]
'''
}