Repository: groovy
Updated Branches:
  refs/heads/master a26c190f9 -> fe01ff61b


Refine the test of "GROOVY-8598: Possible bug in AstBuilder Antlr4"


Project: http://git-wip-us.apache.org/repos/asf/groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/groovy/commit/fe01ff61
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/fe01ff61
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/fe01ff61

Branch: refs/heads/master
Commit: fe01ff61bef4584b6d6c4ea3c85de06531e4d777
Parents: a26c190
Author: sunlan <[email protected]>
Authored: Wed May 23 15:49:04 2018 +0800
Committer: sunlan <[email protected]>
Committed: Wed May 23 15:49:04 2018 +0800

----------------------------------------------------------------------
 .../org/apache/groovy/parser/antlr4/SyntaxErrorTest.groovy       | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/groovy/blob/fe01ff61/subprojects/parser-antlr4/src/test/groovy/org/apache/groovy/parser/antlr4/SyntaxErrorTest.groovy
----------------------------------------------------------------------
diff --git 
a/subprojects/parser-antlr4/src/test/groovy/org/apache/groovy/parser/antlr4/SyntaxErrorTest.groovy
 
b/subprojects/parser-antlr4/src/test/groovy/org/apache/groovy/parser/antlr4/SyntaxErrorTest.groovy
index 68c551a..868269f 100644
--- 
a/subprojects/parser-antlr4/src/test/groovy/org/apache/groovy/parser/antlr4/SyntaxErrorTest.groovy
+++ 
b/subprojects/parser-antlr4/src/test/groovy/org/apache/groovy/parser/antlr4/SyntaxErrorTest.groovy
@@ -227,8 +227,8 @@ class SyntaxErrorTest extends GroovyTestCase {
     }
 
     void "test groovy core - Import"() {
-        TestUtils.shouldFail('fail/Import_01x.groovy');
-        TestUtils.shouldFail('fail/Import_02x.groovy');
+        TestUtils.doRunAndShouldFail('fail/Import_01x.groovy');
+        TestUtils.doRunAndShouldFail('fail/Import_02x.groovy');
     }
 
     /**************************************/

Reply via email to