ICU-12072 C, oops, correctly disable the tests currently missing data

X-SVN-Rev: 38482
This commit is contained in:
Peter Edberg 2016-03-04 06:28:56 +00:00
parent eddf3c7f4c
commit b17967ca58

View File

@ -169,7 +169,7 @@ static void TestRelDateFmt()
UChar ubufget[kUBufMax];
int32_t ulenget;
if (itemPtr->unit >= UDAT_REL_UNIT_SUNDAY && (offsets[iOffset] != -1.0 || offsets[iOffset] != 0.0 || offsets[iOffset] != 1.0)) {
if (itemPtr->unit >= UDAT_REL_UNIT_SUNDAY && offsets[iOffset] != -1.0 && offsets[iOffset] != 0.0 && offsets[iOffset] != 1.0) {
continue; /* we do not currently have data for this */
}