Skip to content

Commit 94923fa

Browse files
committed
Better unit test failure messages
1 parent 36a73e3 commit 94923fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/java/org/apache/commons/lang3/time/FastDateParser_TimeZoneStrategyTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,8 @@ private void testTimeZoneStrategyPattern_DateFormatSymbols_getZoneStrings(final
132132
// Mark as an assumption failure instead of a hard fail
133133
System.err.printf(
134134
"[%,d][%s] Java %s %s - Mark as an assumption failure instead of a hard fail: locale = '%s', parse = '%s'%n",
135-
Thread.currentThread().getName(),
136135
fails.incrementAndGet(),
136+
Thread.currentThread().getName(),
137137
SystemUtils.JAVA_VENDOR,
138138
SystemUtils.JAVA_VM_VERSION,
139139
localeStr, tzDisplay);
@@ -146,8 +146,8 @@ private void testTimeZoneStrategyPattern_DateFormatSymbols_getZoneStrings(final
146146
// Mark as an assumption failure instead of a hard fail
147147
System.err.printf(
148148
"[%,d][%s] Java %s %s - Mark as an assumption failure instead of a hard fail: locale = '%s', parse = '%s'%n",
149-
Thread.currentThread().getName(),
150149
fails.incrementAndGet(),
150+
Thread.currentThread().getName(),
151151
SystemUtils.JAVA_VENDOR,
152152
SystemUtils.JAVA_VM_VERSION,
153153
localeStr, tzDisplay);

0 commit comments

Comments
 (0)