You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2019/04/10 14:20:20 UTC
[groovy] branch master updated: fix typo during previous refactor
This is an automated email from the ASF dual-hosted git repository.
paulk 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 bcba50d fix typo during previous refactor
bcba50d is described below
commit bcba50d572c7937b510811c1dc3225b7d597555f
Author: Paul King <pa...@asert.com.au>
AuthorDate: Thu Apr 11 00:20:13 2019 +1000
fix typo during previous refactor
---
src/test/groovy/transform/stc/MethodReferenceTest.groovy | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/test/groovy/transform/stc/MethodReferenceTest.groovy b/src/test/groovy/transform/stc/MethodReferenceTest.groovy
index 3a3f3ab..62883e4 100644
--- a/src/test/groovy/transform/stc/MethodReferenceTest.groovy
+++ b/src/test/groovy/transform/stc/MethodReferenceTest.groovy
@@ -182,7 +182,7 @@ class MethodReferenceTest extends GroovyTestCase {
assertScript '''
@groovy.transform.CompileStatic
void p() {
- def result = [2.0G, 2.0G, 3.0G].stream().reduce(0.0G, new Adder()::add)
+ def result = [1.0G, 2.0G, 3.0G].stream().reduce(0.0G, new Adder()::add)
assert 6.0G == result
}