diff --git a/tests/isc/time_test.c b/tests/isc/time_test.c index 26d2775725..3b5113b844 100644 --- a/tests/isc/time_test.c +++ b/tests/isc/time_test.c @@ -280,8 +280,7 @@ ISC_RUN_TEST_IMPL(isc_time_formatISO8601TZms_test) { assert_int_equal(buf[16], ':'); assert_int_equal(buf[19], '.'); - LargestIntegralType plus_minus[2] = { '+', '-' }; - assert_in_set(buf[23], plus_minus, sizeof(plus_minus)); + assert_true((buf[23] == '+') || (buf[23] == '-')); assert_int_equal(buf[26], ':'); /* check time conversion correctness */