]> granicus.if.org Git - icu/commitdiff
ICU-21579 Compiler warning fixes.
authorAndy Heninger <andy.heninger@gmail.com>
Fri, 21 May 2021 01:34:39 +0000 (18:34 -0700)
committerFrank Yung-Fong Tang <ftang@google.com>
Fri, 21 May 2021 19:29:09 +0000 (12:29 -0700)
Fix typos in hard-coded test data, uncovered by a compiler upgrade to
clang version 12.0.0-1ubuntu1

icu4c/source/test/intltest/localebuildertest.cpp
icu4c/source/test/intltest/plurults.cpp

index 385f8d6739aaf2b5e7d3e554cd37d739e1382ed4..9c2cb23b44a09236b3b62b75819eb6a12e23dd83 100644 (file)
@@ -425,7 +425,7 @@ void LocaleBuilderTest::TestSetLanguageIllFormed() {
         "F",
         "2",
         "0",
-        "9"
+        "9",
         "{",
         ".",
         "[",
@@ -520,7 +520,7 @@ void LocaleBuilderTest::TestSetScriptIllFormed() {
         "F",
         "2",
         "0",
-        "9"
+        "9",
         "{",
         ".",
         "[",
@@ -619,7 +619,7 @@ void LocaleBuilderTest::TestSetRegionIllFormed() {
         "F",
         "2",
         "0",
-        "9"
+        "9",
         "{",
         ".",
         "[",
@@ -763,7 +763,7 @@ void LocaleBuilderTest::TestSetVariantIllFormed() {
         "F",
         "2",
         "0",
-        "9"
+        "9",
         "{",
         ".",
         "[",
index 407e484c163a744f313cfaff1f4708d5e1564a8b..c7f02999cd6e828518ca565309001dd6414cbc85 100644 (file)
@@ -1306,7 +1306,7 @@ void PluralRulesTest::testParseErrors() {
             "A: n is 13",          // Uppercase keywords not allowed.
             "a: n ! = 3",          // spaces in != operator
             "a: n = not 3",        // '=' not exact equivalent of 'is'
-            "a: n ! in 3..4"       // '!' not exact equivalent of 'not'
+            "a: n ! in 3..4",      // '!' not exact equivalent of 'not'
             "a: n % 37 ! in 3..4"
 
             };