Use of external documented type

instead of internal type.
This commit is contained in:
Patrick Pelissier committed 2020-10-03 16:07:14 +02:00
1 parent b4fdcbc547
commit f1b794b239
1 file changed
+2 -2
+2 -2
View File
@@ -435,7 +435,7 @@ static void test_it_oa(void)
dict_oa_int_it_t it;
size_t s = 0;
for(dict_oa_int_it(it, d1); !dict_oa_int_end_p(it); dict_oa_int_next(it)) {
dict_oa_int_pair_t *pair = dict_oa_int_ref(it);
dict_oa_int_type_t *pair = dict_oa_int_ref(it);
assert (pair->key >= 0 && pair->key < 200);
assert (pair->value == pair->key + 1);
s++;
@@ -461,7 +461,7 @@ static void test_it_oa(void)
s = 0;
for(dict_oa_int_it_last(it, d1); !dict_oa_int_end_p(it); dict_oa_int_previous(it)) {
dict_oa_int_pair_t *pair = dict_oa_int_ref(it);
dict_oa_int_type_t *pair = dict_oa_int_ref(it);
assert (pair->key >= 0 && pair->key < 200);
assert (pair->value == pair->key + 1);
s++;