Skip to content

Commit 6223029

Browse files
authored
Fix z_collections_test (#895)
1 parent 5d7a490 commit 6223029

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/z_collections_test.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,8 +366,8 @@ void int_map_iterator_deletion_test(void) {
366366
assert(s == _z_str_intmap_len(&map));
367367
size_t key = _z_str_intmap_iterator_key(&iter);
368368
assert(strlen(_z_str_intmap_iterator_value(&iter)) == 1);
369-
_z_str_intmap_remove(&map, key);
370369
_z_str_intmap_iterator_next(&iter);
370+
_z_str_intmap_remove(&map, key);
371371
}
372372
_z_str_intmap_clear(&map);
373373
}

0 commit comments

Comments
 (0)