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 e02d7808f..3a1454fc3 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 @@ -82,7 +82,7 @@ public class FastDateParser_TimeZoneStrategyTest extends AbstractLangTest { private void testTimeZoneStrategyPattern(final String languageTag) throws ParseException { final Locale locale = Locale.forLanguageTag(languageTag); assumeFalse(LocaleUtils.isLanguageUndetermined(locale), () -> toFailureMessage(locale, languageTag)); - assumeTrue(LocaleUtils.isAvailableLocale(locale), () -> toFailureMessage(locale, null)); + assumeTrue(LocaleUtils.isAvailableLocale(locale), () -> toFailureMessage(locale, languageTag)); final TimeZone tzDefault = TimeZone.getTimeZone("Etc/UTC"); final FastDateParser parser = new FastDateParser("z", tzDefault, locale); parser.parse("HorĂ¡rio do Meridiano de Greenwich");