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 2019/11/22 17:09:48 UTC
[groovy] branch master updated: Fix the failing build on Java 11.0.5
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 <su...@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() {