groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sun...@apache.org
Subject [groovy] branch master updated: Fix the failing build on Java 11.0.5
Date Fri, 22 Nov 2019 17:09:48 GMT
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 002b858  Fix the failing build on Java 11.0.5
002b858 is described below

commit 002b8581aa3f8728b25a66690e7aac05f375ee0e
Author: Daniel Sun <sunlan@apache.org>
AuthorDate: Sat Nov 23 01:09:40 2019 +0800

    Fix the failing build on Java 11.0.5
---
 src/spec/test/typing/TypeCheckingExtensionSpecTest.groovy | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/spec/test/typing/TypeCheckingExtensionSpecTest.groovy b/src/spec/test/typing/TypeCheckingExtensionSpecTest.groovy
index e708b73..717b461 100644
--- a/src/spec/test/typing/TypeCheckingExtensionSpecTest.groovy
+++ b/src/spec/test/typing/TypeCheckingExtensionSpecTest.groovy
@@ -421,7 +421,7 @@ runner.run()
 // tag::robot_runtime_error_cs[]
 java.lang.NoSuchMethodError: java.lang.Object.move()Ltyping/Robot;
 // end::robot_runtime_error_cs[]
-'''))
+''')) || err.contains('java.lang.NoSuchMethodError: \'typing.Robot java.lang.Object.move()\'')
     }
 
     void testRobotExamplePassesWithCompileStatic() {


Mime
View raw message