mirror of
https://github.com/apache/commons-lang.git
synced 2025-02-15 22:44:57 +00:00
Show more info on failure
This commit is contained in:
parent
756ccc935e
commit
612236c8a7
@ -38,10 +38,13 @@ public void testTimeZoneStrategyPattern() {
|
||||
parser.parse(tzDisplay);
|
||||
}
|
||||
catch(Exception ex) {
|
||||
Assert.fail(tzDisplay
|
||||
+ " Locale: " + locale.getDisplayName()
|
||||
Assert.fail("'" + tzDisplay + "'"
|
||||
+ " Locale: '" + locale.getDisplayName() + "'"
|
||||
+ " TimeZone: " + zone[0]
|
||||
+ " offset: " + t);
|
||||
+ " offset: " + t
|
||||
+ " defaultLocale: " + Locale.getDefault()
|
||||
+ " defaultTimeZone: " + TimeZone.getDefault().getDisplayName()
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user