latest latest
This commit is contained in:
@@ -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++ ) {
|
||||||
|
|||||||
Reference in New Issue
Block a user