From 467f482ea6653127d49ea7b6c487f9d51929d232 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Thu, 30 Mar 2017 20:35:16 +0200 Subject: core: make "callback_cmp" optional in call to function arraylist_new() If no callback is given, a default callback is used, which just compares pointers. --- tests/unit/core/test-arraylist.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'tests/unit') diff --git a/tests/unit/core/test-arraylist.cpp b/tests/unit/core/test-arraylist.cpp index 5c018b02b..a0350d611 100644 --- a/tests/unit/core/test-arraylist.cpp +++ b/tests/unit/core/test-arraylist.cpp @@ -489,8 +489,6 @@ TEST(Arraylist, New) arraylist_new (-1, 0, 0, NULL, NULL, NULL, NULL)); POINTERS_EQUAL(NULL, arraylist_new (-1, 0, 0, &test_cmp_cb, NULL, NULL, NULL)); - POINTERS_EQUAL(NULL, - arraylist_new (0, 0, 0, NULL, NULL, NULL, NULL)); /* tests on arraylists */ for (initial_size = 0; initial_size < 2; initial_size++) -- cgit v1.2.3