Index: source/test/intltest/regcoll.cpp |
diff --git a/source/test/intltest/regcoll.cpp b/source/test/intltest/regcoll.cpp |
index 7a322447aabec887a462047e89e7324e89caf0dd..dc1026deaf67489b46107e38c0e6f4bc73a2e0bb 100644 |
--- a/source/test/intltest/regcoll.cpp |
+++ b/source/test/intltest/regcoll.cpp |
@@ -1225,7 +1225,7 @@ void CollationRegressionTest::TestT7189() { |
return; |
} |
- for (i = 0; i < sizeof(text1) / (CollationRegressionTest::MAX_TOKEN_LEN * sizeof(UChar)); i++) { |
+ for (i = 0; i < UPRV_LENGTHOF(text1); i++) { |
uint8_t key1[100], key2[100]; |
int32_t len1, len2; |