diff options
Diffstat (limited to 'Build/source/libs/icu/icu-50.1/test/intltest/strtest.cpp')
-rw-r--r-- | Build/source/libs/icu/icu-50.1/test/intltest/strtest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/libs/icu/icu-50.1/test/intltest/strtest.cpp b/Build/source/libs/icu/icu-50.1/test/intltest/strtest.cpp index 1f7c81d4ae5..2081454d5fe 100644 --- a/Build/source/libs/icu/icu-50.1/test/intltest/strtest.cpp +++ b/Build/source/libs/icu/icu-50.1/test/intltest/strtest.cpp @@ -1,6 +1,6 @@ /******************************************************************** * COPYRIGHT: - * Copyright (c) 1997-2011, International Business Machines Corporation and + * Copyright (c) 1997-2012, International Business Machines Corporation and * others. All Rights Reserved. ********************************************************************/ /* file name: strtest.cpp @@ -94,7 +94,7 @@ U_STRING_DECL(ustringVar, "aZ0 -", 5); void StringTest::Test_U_STRING() { U_STRING_INIT(ustringVar, "aZ0 -", 5); - if( sizeof(ustringVar)/sizeof(*ustringVar)!=6 || + if( u_strlen(ustringVar)!=5 || ustringVar[0]!=0x61 || ustringVar[1]!=0x5a || ustringVar[2]!=0x30 || |