]> granicus.if.org Git - icu/commitdiff
ICU-9822 fix U_STRING_INIT string length
authorMarkus Scherer <markus.icu@gmail.com>
Tue, 25 Feb 2014 22:56:51 +0000 (22:56 +0000)
committerMarkus Scherer <markus.icu@gmail.com>
Tue, 25 Feb 2014 22:56:51 +0000 (22:56 +0000)
X-SVN-Rev: 35228

icu4c/source/test/cintltst/cucdtst.c

index ccbae955bfc1e14875d5308fc8430de2e9eb835e..090b939c0ea0929c87c7e8e89c2c01643c81f685 100644 (file)
@@ -3067,7 +3067,7 @@ TestConsistency() {
 
     U_STRING_DECL(mathBlocksPattern,
         "[[:block=Mathematical Operators:][:block=Miscellaneous Mathematical Symbols-A:][:block=Miscellaneous Mathematical Symbols-B:][:block=Supplemental Mathematical Operators:][:block=Mathematical Alphanumeric Symbols:]]",
-        1+32+46+46+45+43+1+1); /* +1 for NUL */
+        214);
     U_STRING_DECL(mathPattern, "[:Math:]", 8);
     U_STRING_DECL(unassignedPattern, "[:Cn:]", 6);
     U_STRING_DECL(unknownPattern, "[:sc=Unknown:]", 14);
@@ -3081,7 +3081,7 @@ TestConsistency() {
 
     U_STRING_INIT(mathBlocksPattern,
         "[[:block=Mathematical Operators:][:block=Miscellaneous Mathematical Symbols-A:][:block=Miscellaneous Mathematical Symbols-B:][:block=Supplemental Mathematical Operators:][:block=Mathematical Alphanumeric Symbols:]]",
-        1+32+46+46+45+43+1+1); /* +1 for NUL */
+        214);
     U_STRING_INIT(mathPattern, "[:Math:]", 8);
     U_STRING_INIT(unassignedPattern, "[:Cn:]", 6);
     U_STRING_INIT(unknownPattern, "[:sc=Unknown:]", 14);