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/12/20 18:02:19 UTC

[groovy] branch GROOVY_3_0_X updated: Fix the failing build

This is an automated email from the ASF dual-hosted git repository.

sunlan pushed a commit to branch GROOVY_3_0_X
in repository https://gitbox.apache.org/repos/asf/groovy.git


The following commit(s) were added to refs/heads/GROOVY_3_0_X by this push:
     new 26a29c9  Fix the failing build
26a29c9 is described below

commit 26a29c9fa887f03493694cdf0ae5430ad44fba24
Author: Daniel Sun <su...@apache.org>
AuthorDate: Sat Dec 21 02:02:09 2019 +0800

    Fix the failing build
---
 src/test/org/codehaus/groovy/control/CompilerConfigurationTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test/org/codehaus/groovy/control/CompilerConfigurationTest.java b/src/test/org/codehaus/groovy/control/CompilerConfigurationTest.java
index fcc68a2..411aaad 100644
--- a/src/test/org/codehaus/groovy/control/CompilerConfigurationTest.java
+++ b/src/test/org/codehaus/groovy/control/CompilerConfigurationTest.java
@@ -129,7 +129,7 @@ public class CompilerConfigurationTest extends GroovyTestCase {
         initJoint.put("somekey", "somevalue");
         init.setJointCompilationOptions(initJoint);
 
-        final ParserPluginFactory initPPF = ParserPluginFactory.newInstance();
+        final ParserPluginFactory initPPF = ParserPluginFactory.antlr4(init);
         init.setPluginFactory(initPPF);
 
         assertEquals(WarningMessage.POSSIBLE_ERRORS, init.getWarningLevel());