From: Andy Heninger Date: Fri, 21 May 2021 01:34:39 +0000 (-0700) Subject: ICU-21579 Compiler warning fixes. X-Git-Tag: cldr/2021-06-15~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7d75a85501321952ba263900d96ca21c0baf06f5;p=icu ICU-21579 Compiler warning fixes. Fix typos in hard-coded test data, uncovered by a compiler upgrade to clang version 12.0.0-1ubuntu1 --- diff --git a/icu4c/source/test/intltest/localebuildertest.cpp b/icu4c/source/test/intltest/localebuildertest.cpp index 385f8d6739a..9c2cb23b44a 100644 --- a/icu4c/source/test/intltest/localebuildertest.cpp +++ b/icu4c/source/test/intltest/localebuildertest.cpp @@ -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", "{", ".", "[", diff --git a/icu4c/source/test/intltest/plurults.cpp b/icu4c/source/test/intltest/plurults.cpp index 407e484c163..c7f02999cd6 100644 --- a/icu4c/source/test/intltest/plurults.cpp +++ b/icu4c/source/test/intltest/plurults.cpp @@ -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" };