]> granicus.if.org Git - icu/commitdiff
ICU-12072 C, oops, correctly disable the tests currently missing data
authorPeter Edberg <pedberg@unicode.org>
Fri, 4 Mar 2016 06:28:56 +0000 (06:28 +0000)
committerPeter Edberg <pedberg@unicode.org>
Fri, 4 Mar 2016 06:28:56 +0000 (06:28 +0000)
X-SVN-Rev: 38482

icu4c/source/test/cintltst/crelativedateformattest.c

index 93ce3d2debe18518cf688e45d47ea6ad88bf79ac..58b31b90818b6e64230e0a923da54332694b7a30 100644 (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 */
             }