2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

fix: nil: Fix alpine build by removing the need for LargestIntegralType in time_test

Fix alpine build by removing the need for `LargestIntegralType` use in `tests/isc/time_test.c`.

Merge branch 'alessio/fix-time-test' into 'main'

See merge request isc-projects/bind9!9758
This commit is contained in:
Alessio Podda
2024-11-22 09:25:08 +00:00

View File

@@ -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 */