latest latest

This commit is contained in:
2025-12-10 07:58:54 +01:00
parent 260dabfbf0
commit 65b5905f00
+1 -1
View File
@@ -55,7 +55,7 @@ Test(dynamic_arrays, contains) {
with_borrow(alloc) { with_borrow(alloc) {
int *numbers = make_arr(alloc, int); int *numbers = make_arr(alloc, int);
arr_append(numbers, 20); arr_append(numbers, 20);
cr_expect(arr_contains(numbers, int, 20)); cr_expect(arr_contains(numbers, &(int){20}));
arr_reset(numbers); arr_reset(numbers);
for ( size_t y = 0; y < 1000; y++ ) { for ( size_t y = 0; y < 1000; y++ ) {