From 06607c60dcd9aed4a3942103ddc080dd3d6b428e Mon Sep 17 00:00:00 2001 From: Gary Gregory Date: Thu, 10 Aug 2023 15:26:45 -0400 Subject: [PATCH] Better test failure message --- .../commons/lang3/time/FastDateParser_TimeZoneStrategyTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 a6d718bcc..77dcb7108 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 @@ -80,7 +80,7 @@ public class FastDateParser_TimeZoneStrategyTest extends AbstractLangTest { final PrintStream zonesPs = new PrintStream(zonesOut); Stream.of(zones).forEach(z -> zonesPs.println(Arrays.toString(z))); fail(String.format( - "%s: with tzDefault = %s, locale = %s, zones[][] size = '%s', zIndex = %,d, tzDisplay = '%s', parser = '%s', zones = %s", e, + "%s: with tzDefault = %s, locale = %s, zones[][] size = '%s', zIndex = %,d, tzDisplay = '%s', parser = '%s', zones size = %,d, zones = %s", e, tzDefault, locale, zone.length, zIndex, tzDisplay, parser.toStringAll(), zones.length, zonesOut), e); } }