ICU-10045 Change UNICODE_STRING_SIMPLE to a UnicodeString constructor in an attempt to fix broken builds.

X-SVN-Rev: 33489
This commit is contained in:
Travis Keep 2013-04-03 21:18:45 +00:00
parent c0ac428d94
commit 77f8f1e2c2

View file

@ -6741,7 +6741,7 @@ void NumberFormatTest::TestSignificantDigits(void) {
UnicodeString expectedResult;
for (int i = 0; i < sizeof(input)/sizeof(double); ++i) {
numberFormat->format(input[i], result);
expectedResult = UNICODE_STRING_SIMPLE(expected[i]);
UnicodeString expectedResult(expected[i]);
if (result != expectedResult) {
errln((UnicodeString)"Expected: '" + expectedResult + "' got '" + result);
}