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

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-lang.git


The following commit(s) were added to refs/heads/master by this push:
     new 94923facf Better unit test failure messages
94923facf is described below

commit 94923facf5e545beefa3296c1e49ae01782d5021
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Thu Dec 5 18:07:09 2024 -0500

    Better unit test failure messages
---
 .../commons/lang3/time/FastDateParser_TimeZoneStrategyTest.java       | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/src/test/java/org/apache/commons/lang3/time/FastDateParser_TimeZoneStrategyTest.java
 
b/src/test/java/org/apache/commons/lang3/time/FastDateParser_TimeZoneStrategyTest.java
index 58f363886..58025a2d9 100644
--- 
a/src/test/java/org/apache/commons/lang3/time/FastDateParser_TimeZoneStrategyTest.java
+++ 
b/src/test/java/org/apache/commons/lang3/time/FastDateParser_TimeZoneStrategyTest.java
@@ -132,8 +132,8 @@ public class FastDateParser_TimeZoneStrategyTest extends 
AbstractLangTest {
                         // Mark as an assumption failure instead of a hard fail
                         System.err.printf(
                                 "[%,d][%s] Java %s %s - Mark as an assumption 
failure instead of a hard fail: locale = '%s', parse = '%s'%n",
-                                Thread.currentThread().getName(),
                                 fails.incrementAndGet(),
+                                Thread.currentThread().getName(),
                                 SystemUtils.JAVA_VENDOR,
                                 SystemUtils.JAVA_VM_VERSION,
                                 localeStr, tzDisplay);
@@ -146,8 +146,8 @@ public class FastDateParser_TimeZoneStrategyTest extends 
AbstractLangTest {
                         // Mark as an assumption failure instead of a hard fail
                         System.err.printf(
                                 "[%,d][%s] Java %s %s - Mark as an assumption 
failure instead of a hard fail: locale = '%s', parse = '%s'%n",
-                                Thread.currentThread().getName(),
                                 fails.incrementAndGet(),
+                                Thread.currentThread().getName(),
                                 SystemUtils.JAVA_VENDOR,
                                 SystemUtils.JAVA_VM_VERSION,
                                 localeStr, tzDisplay);

Reply via email to