groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pa...@apache.org
Subject [groovy] 01/02: fix unintended illegal access
Date Wed, 17 Apr 2019 04:16:58 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

commit 2bdafd782598184db653e47c08038b4ae503054c
Author: Paul King <paulk@asert.com.au>
AuthorDate: Wed Apr 17 13:43:13 2019 +1000

    fix unintended illegal access
---
 subprojects/groovy-sql/src/test/groovy/groovy/sql/SqlTest.groovy | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/subprojects/groovy-sql/src/test/groovy/groovy/sql/SqlTest.groovy b/subprojects/groovy-sql/src/test/groovy/groovy/sql/SqlTest.groovy
index e066120..9bf0b57 100644
--- a/subprojects/groovy-sql/src/test/groovy/groovy/sql/SqlTest.groovy
+++ b/subprojects/groovy-sql/src/test/groovy/groovy/sql/SqlTest.groovy
@@ -183,7 +183,7 @@ class SqlTest extends GroovyTestCase {
                 metaData.getColumnName(it).toLowerCase()
             }
         }
-        assert data.size == 2 && !(data - ['firstname', 'lastname'])
+        assert data.size() == 2 && !(data - ['firstname', 'lastname'])
     }
 
     void testCallMethodFromObjectOnGroovyResultSet() {


Mime
View raw message