Better test failure message
This commit is contained in:
parent
216c9468a8
commit
2d75925280
|
@ -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), e);
|
||||
fail(String.format("%s: with zones[][] size = '%s', zone[] size = '%s', tzDisplay = '%s', parser = '%s'", e, zones.length, zone.length,
|
||||
tzDisplay, parser), e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue