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 1fb9c1eeee Trivial refactor: simplify assertion
1fb9c1eeee is described below

commit 1fb9c1eeee1ce614012c2a1215dd0da1d31eeeec
Author: Daniel Sun <[email protected]>
AuthorDate: Sun Feb 1 11:51:48 2026 +0900

    Trivial refactor: simplify assertion
---
 .../codehaus/groovy/util/ManagedConcurrentValueMapStressTest.java   | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/subprojects/stress/src/stressTest/java/org/codehaus/groovy/util/ManagedConcurrentValueMapStressTest.java
 
b/subprojects/stress/src/stressTest/java/org/codehaus/groovy/util/ManagedConcurrentValueMapStressTest.java
index e8b56a6502..600736493e 100644
--- 
a/subprojects/stress/src/stressTest/java/org/codehaus/groovy/util/ManagedConcurrentValueMapStressTest.java
+++ 
b/subprojects/stress/src/stressTest/java/org/codehaus/groovy/util/ManagedConcurrentValueMapStressTest.java
@@ -63,9 +63,9 @@ public class ManagedConcurrentValueMapStressTest {
         map.put("keyLast", new Object());
 
         // No size() method, so let's just check a few keys we that should 
have been collected
-        assertEquals(null, map.get("key77"));
-        assertEquals(null, map.get("key1337"));
-        assertEquals(null, map.get("key3559"));
+        assertNull(map.get("key77"));
+        assertNull(map.get("key1337"));
+        assertNull(map.get("key3559"));
 
         assertEquals(1, size(map));
     }

Reply via email to