commit 7e75aeefed57366a8fa4a11df32ac13a7995f29c
parent 7cb28b8b649f017af0da97a2cab2d7a585666e5f
Author: André Bargull <andre.bargull@gmail.com>
Date: Tue, 25 Nov 2025 15:19:40 +0000
Bug 2000225 - Part 15: Update expected test results in Gecko. r=platform-i18n-reviewers,dminor
Differential Revision: https://phabricator.services.mozilla.com/D273824
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/intl/components/gtest/TestDateTimeFormat.cpp b/intl/components/gtest/TestDateTimeFormat.cpp
@@ -234,7 +234,7 @@ TEST(IntlDateTimeFormat, ComponentsAll)
TestBuffer<char16_t> buffer;
ASSERT_TRUE(FormatComponents(buffer, components));
- ASSERT_TRUE(buffer.verboseMatches(u"Mon, 9 23, 2002 AD, 20:07:30.000 GMT+3"));
+ ASSERT_TRUE(buffer.verboseMatches(u"Mon, 9/23/2002 AD, 20:07:30.000 GMT+3"));
}
TEST(IntlDateTimeFormat, ComponentsHour12Default)
diff --git a/intl/locale/tests/gtest/TestAppDateTimeFormat.cpp b/intl/locale/tests/gtest/TestAppDateTimeFormat.cpp
@@ -267,7 +267,7 @@ TEST(AppDateTimeFormat, DateFormatSelectorsForeign)
nsresult rv =
AppDateTimeFormat::Format(components, &prExplodedTime, formattedTime);
ASSERT_NS_SUCCEEDED(rv);
- ASSERT_STREQ("01.1970", NS_ConvertUTF16toUTF8(formattedTime).get());
+ ASSERT_STREQ("01/1970", NS_ConvertUTF16toUTF8(formattedTime).get());
}
{
ComponentsBag components{};