Better test failure message

This commit is contained in:
Gary Gregory 2023-08-10 15:26:45 -04:00
parent 8c942d2a67
commit 06607c60dc
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}