This is an automated email from the ASF dual-hosted git repository. sebb pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-jexl.git
The following commit(s) were added to refs/heads/master by this push: new 6fefb611 Use JUNit assertions not assert in tests 6fefb611 is described below commit 6fefb611b1da6a3c28d6f6fb9274e3bfaf54a91e Author: Sebb <s...@apache.org> AuthorDate: Tue Jul 30 00:13:13 2024 +0100 Use JUNit assertions not assert in tests --- src/test/java/org/apache/commons/jexl3/CachePerformanceTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/org/apache/commons/jexl3/CachePerformanceTest.java b/src/test/java/org/apache/commons/jexl3/CachePerformanceTest.java index 2f5e6373..9402840c 100644 --- a/src/test/java/org/apache/commons/jexl3/CachePerformanceTest.java +++ b/src/test/java/org/apache/commons/jexl3/CachePerformanceTest.java @@ -74,7 +74,7 @@ public class CachePerformanceTest { for (int r = 0; r < HIT; ++r) { final JexlScript script = jexl.createScript(Integer.toString(ctl)); final Object result = script.execute(null); - assert ((Number) result).intValue() == ctl; + assertEquals(((Number) result).intValue(), ctl); count += 1; } } @@ -118,7 +118,7 @@ public class CachePerformanceTest { /** Number of concurrent threads. */ private static final int THREADS = 8; - /** Teh logger. */ + /** The logger. */ Log LOGGER = LogFactory.getLog(getClass()); /**