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 2022/09/05 13:04:12 UTC

[groovy] branch master updated: Tweak test

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 c913465714 Tweak test
c913465714 is described below

commit c913465714fdf5134c912080f7fffe2765b77610
Author: Daniel Sun <su...@apache.org>
AuthorDate: Mon Sep 5 21:02:47 2022 +0800

    Tweak test
---
 src/test/groovy/bugs/Groovy9103.groovy | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test/groovy/bugs/Groovy9103.groovy b/src/test/groovy/bugs/Groovy9103.groovy
index 9e58032556..d2be689410 100644
--- a/src/test/groovy/bugs/Groovy9103.groovy
+++ b/src/test/groovy/bugs/Groovy9103.groovy
@@ -67,7 +67,7 @@ final class Groovy9103 {
     @Test
     void testClone3() {
         Object obj = new Tuple1('abc')
-        assert obj.clone()
+        assert obj.clone().getClass() === Tuple1.class
     }
 
     @Test