Fix FormatterTest#testFormatShortElapsedTime due to CLDR 34 change
Separator in French is changed in CLDR 34 Bug: 113100098 Test: atest frameworks/base/core/tests/coretests/src/android/text/format/FormatterTest.java Change-Id: I04e4501079d57fb8ce5aefa251b6f2362b07f8f6
This commit is contained in:
@@ -162,7 +162,7 @@ public class FormatterTest {
|
||||
|
||||
// Make sure it works on different locales.
|
||||
setLocale(Locale.FRANCE);
|
||||
assertEquals("2 j", Formatter.formatShortElapsedTime(mContext, 2 * DAY));
|
||||
assertEquals("2\u202fj", Formatter.formatShortElapsedTime(mContext, 2 * DAY));
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user