Index: source/test/intltest/tchcfmt.cpp |
diff --git a/source/test/intltest/tchcfmt.cpp b/source/test/intltest/tchcfmt.cpp |
index bd50389d4d825fdb02ff2e94196b5ba8278fc482..62c10dea1bd261c2a1083229416ab48adc1838ad 100644 |
--- a/source/test/intltest/tchcfmt.cpp |
+++ b/source/test/intltest/tchcfmt.cpp |
@@ -1,7 +1,6 @@ |
- |
/******************************************************************** |
* COPYRIGHT: |
- * Copyright (c) 1997-2011, International Business Machines Corporation and |
+ * Copyright (c) 1997-2016, International Business Machines Corporation and |
* others. All Rights Reserved. |
********************************************************************/ |
@@ -636,7 +635,7 @@ void TestChoiceFormat::TestChoiceFormatToPatternOverflow() |
{ |
static const double limits[] = {0.1e-78, 1e13, 0.1e78}; |
UnicodeString monthNames[] = { "one", "two", "three" }; |
- ChoiceFormat fmt(limits, monthNames, sizeof(limits)/sizeof(limits[0])); |
+ ChoiceFormat fmt(limits, monthNames, UPRV_LENGTHOF(limits)); |
UnicodeString patStr, expectedPattern1("1e-79#one|10000000000000#two|1e+77#three"), |
expectedPattern2("1e-079#one|10000000000000#two|1e+077#three"); |
fmt.toPattern(patStr); |