groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pa...@apache.org
Subject [groovy] branch master updated: fix typo during previous refactor
Date Wed, 10 Apr 2019 14:20:20 GMT
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 <paulk@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
             }


Mime
View raw message