This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-lang.git


The following commit(s) were added to refs/heads/master by this push:
     new 216c9468a Better test failure message
216c9468a is described below

commit 216c9468a839ede5e34c490ad3e5c15fcee07c26
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Thu Aug 10 09:06:13 2023 -0400

    Better test failure message
---
 .../apache/commons/lang3/time/FastDateParser_TimeZoneStrategyTest.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/src/test/java/org/apache/commons/lang3/time/FastDateParser_TimeZoneStrategyTest.java
 
b/src/test/java/org/apache/commons/lang3/time/FastDateParser_TimeZoneStrategyTest.java
index a3a4997b8..0674773bc 100644
--- 
a/src/test/java/org/apache/commons/lang3/time/FastDateParser_TimeZoneStrategyTest.java
+++ 
b/src/test/java/org/apache/commons/lang3/time/FastDateParser_TimeZoneStrategyTest.java
@@ -56,7 +56,8 @@ public class FastDateParser_TimeZoneStrategyTest extends 
AbstractLangTest {
                 try {
                     parser.parse(tzDisplay);
                 } catch (ParseException e) {
-                    fail(String.format("%s: with zone = '%s', tzDisplay = 
'%s', parser = '%s'", e, zone, 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);
                 }
             }
         }

Reply via email to