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 a459ffd16 Better test failure message
a459ffd16 is described below

commit a459ffd169602d56c797a1519574dc10fdd6b3dc
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Thu Aug 10 09:29:47 2023 -0400

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

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 eb61711d5..523bebd77 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,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);
                 }
             }
         }

Reply via email to