ICU-11414 uspoof, fix Visual Studio compile problems.

X-SVN-Rev: 36824
This commit is contained in:
Andy Heninger 2014-12-08 22:40:31 +00:00
parent 40271c5742
commit 63771018b6

View File

@ -534,12 +534,15 @@ static void TestUSpoofCAPI(void) {
* get Inclusion and Recommended sets
*/
TEST_SETUP
USet *inclusions = uspoof_getInclusionSet(&status);
const USet *inclusions = NULL;
const USet *recommended = NULL;
inclusions = uspoof_getInclusionSet(&status);
TEST_ASSERT_SUCCESS(status);
TEST_ASSERT_EQ(TRUE, uset_isFrozen(inclusions));
status = U_ZERO_ERROR;
USet *recommended = uspoof_getRecommendedSet(&status);
recommended = uspoof_getRecommendedSet(&status);
TEST_ASSERT_SUCCESS(status);
TEST_ASSERT_EQ(TRUE, uset_isFrozen(recommended));
TEST_TEARDOWN;