Repository: groovy Updated Branches: refs/heads/GROOVY_2_6_X 0c0e7a635 -> 146b908ac
Refine the test of "GROOVY-8598: Possible bug in AstBuilder Antlr4" (cherry picked from commit fe01ff6) Project: http://git-wip-us.apache.org/repos/asf/groovy/repo Commit: http://git-wip-us.apache.org/repos/asf/groovy/commit/146b908a Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/146b908a Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/146b908a Branch: refs/heads/GROOVY_2_6_X Commit: 146b908ac063cc979d9387bdff1874112f1a4102 Parents: 0c0e7a6 Author: sunlan <[email protected]> Authored: Wed May 23 15:49:04 2018 +0800 Committer: sunlan <[email protected]> Committed: Wed May 23 15:49:28 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/146b908a/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'); } /**************************************/
