You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2023/08/11 21:32:31 UTC

[commons-lang] branch master updated: Fix error message

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 565fc7601 Fix error message
565fc7601 is described below

commit 565fc7601a647a91745321737697630cea6fefe1
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Fri Aug 11 17:32:10 2023 -0400

    Fix error message
---
 .../commons/lang3/time/FastDateParser_TimeZoneStrategyTest.java     | 6 +++---
 1 file changed, 3 insertions(+), 3 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 b4fe15b32..c1955610e 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
@@ -75,12 +75,12 @@ public class FastDateParser_TimeZoneStrategyTest extends AbstractLangTest {
                 parser.parse(displayName);
             } catch (ParseException e) {
                 // Missing "Zulu" or something else in broken JDK's GH builds?
-                fail(String.format("%s: with locale = %s, id = '%s', timeZone = %s, displayName = '%s', parser = '%s'", e, locale, displayName, id, timeZone,
-                        displayName, parser.toStringAll()), e);
+                fail(String.format("%s: with locale = %s, id = '%s', timeZone = %s, displayName = '%s', parser = '%s'", e, locale, id, timeZone, displayName,
+                        parser.toStringAll()), e);
             }
         }
 
-// The above replaces what's below and fails on certain locale/time zones on GH.
+// The above replaces what's below and fails on certain locale/timezones on GH.
 //
 // Calling getZoneStrings() is not recommended in the Javadoc but not deprecated.
 //