Better test failure message
This commit is contained in:
parent
f28a603045
commit
a459ffd169
|
@ -56,8 +56,8 @@ public class FastDateParser_TimeZoneStrategyTest extends AbstractLangTest {
|
||||||
try {
|
try {
|
||||||
parser.parse(tzDisplay);
|
parser.parse(tzDisplay);
|
||||||
} catch (ParseException e) {
|
} catch (ParseException e) {
|
||||||
fail(String.format("%s: with zones[][] size = '%s', zone[] size = '%s', tzDisplay = '%s', parser = '%s'", e, zones.length, zone.length,
|
fail(String.format("%s: with locale = %s, zones[][] size = '%s', zone[] size = '%s', tzDisplay = '%s', parser = '%s'", e, locale,
|
||||||
tzDisplay, parser.toStringAll()), e);
|
zones.length, zone.length, tzDisplay, parser.toStringAll()), e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue