You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by em...@apache.org on 2021/12/04 21:47:56 UTC

[groovy] branch GROOVY_3_0_X updated: try fix

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

emilles 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 6329517  try fix
6329517 is described below

commit 63295171ecdd02f2ce96bccc2fb1d9312b031ae8
Author: Eric Milles <er...@thomsonreuters.com>
AuthorDate: Sat Dec 4 15:47:49 2021 -0600

    try fix
---
 src/test/groovy/bugs/Groovy9932.groovy | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/test/groovy/bugs/Groovy9932.groovy b/src/test/groovy/bugs/Groovy9932.groovy
index cc91082..28f091c 100644
--- a/src/test/groovy/bugs/Groovy9932.groovy
+++ b/src/test/groovy/bugs/Groovy9932.groovy
@@ -27,11 +27,12 @@ import static org.junit.Assume.assumeFalse
 final class Groovy9932 {
 
     @Test
-    void testCallCurrentOnMock() {
+    void testMockCallChain() {
         assumeFalse(CompilerConfiguration.DEFAULT.isIndyEnabled())
 
         new MockFor(Helper).tap {
             demand.publicMethod { -> 'intercepted' }
+            ignore 'privateMethod'
             ignore 'getMyString'
         }.use {
             def helper = new Helper()