Better test failure message

This commit is contained in:
Gary Gregory 2023-08-10 09:29:47 -04:00
parent f28a603045
commit a459ffd169
1 changed files with 2 additions and 2 deletions

View File

@ -56,8 +56,8 @@ public class FastDateParser_TimeZoneStrategyTest extends AbstractLangTest {
try {
parser.parse(tzDisplay);
} catch (ParseException e) {
fail(String.format("%s: with zones[][] size = '%s', zone[] size = '%s', tzDisplay = '%s', parser = '%s'", e, zones.length, zone.length,
tzDisplay, parser.toStringAll()), e);
fail(String.format("%s: with locale = %s, zones[][] size = '%s', zone[] size = '%s', tzDisplay = '%s', parser = '%s'", e, locale,
zones.length, zone.length, tzDisplay, parser.toStringAll()), e);
}
}
}