]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/test/intltest/plurfmts.cpp
ICU-57149.0.1.tar.gz
[apple/icu.git] / icuSources / test / intltest / plurfmts.cpp
index 5ed80208d075556250769dc4ca9954f4517e86f0..adbdd636c5bc8b231744c8319573ee73a5129e4f 100644 (file)
@@ -1,6 +1,6 @@
 /********************************************************************
  * COPYRIGHT: 
- * Copyright (c) 2007-2013, International Business Machines Corporation and
+ * Copyright (c) 2007-2016, International Business Machines Corporation and
  * others. All Rights Reserved.
  ********************************************************************/
 
@@ -611,7 +611,7 @@ PluralFormatTest::pluralFormatExtendedParseTest(void) {
     "=0 {Foo} =0.0 {Bar}",
     " = {Foo}",
   };
-  int len = sizeof(failures)/sizeof(failures[0]);
+  int len = UPRV_LENGTHOF(failures);
 
   for (int i = 0; i < len; ++i) {
     UErrorCode status = U_ZERO_ERROR;