From e46f248a503842475bfa4e3de15d3312f75f23a7 Mon Sep 17 00:00:00 2001 From: "Steven R. Loomis" Date: Fri, 13 Sep 2013 18:38:36 +0000 Subject: [PATCH] ICU-10357 fix from review comment X-SVN-Rev: 34312 --- icu4c/source/test/intltest/intltest.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/icu4c/source/test/intltest/intltest.cpp b/icu4c/source/test/intltest/intltest.cpp index 4c605d08aca..a918cadfa50 100644 --- a/icu4c/source/test/intltest/intltest.cpp +++ b/icu4c/source/test/intltest/intltest.cpp @@ -899,7 +899,9 @@ void IntlTest::dataerrln( const UnicodeString &message ) msg = UnicodeString("[DATA] " + message); } - if (!no_err_msg && (errCount==1)) LL_message( msg + " - (Are you missing data?)", TRUE ); + if (!no_err_msg && ( errCount == 1 )) { + LL_message( msg + " - (Are you missing data?)", TRUE ); // only show this message the first time + } } void IntlTest::errcheckln(UErrorCode status, const UnicodeString &message ) {