python312Packages.llama-index: 0.12.9 -> 0.12.9.post1 (#371957)
[NixPkgs.git] / pkgs / by-name / li / libdbiDrivers / libdbi-drivers-0.9.0-function-types.patch
blob7632a7f5b900a913efbfdf631e318dff92077189
1 diff --git a/tests/cgreen/src/constraint.c b/tests/cgreen/src/constraint.c
2 index 56c3625..d8972bb 100644
3 --- a/tests/cgreen/src/constraint.c
4 +++ b/tests/cgreen/src/constraint.c
5 @@ -22,7 +22,7 @@ static double unbox_double(intptr_t box);
6 static double as_double(intptr_t box);
8 static int compare_using_matcher(Constraint *constraint, intptr_t actual);
9 -static void test_with_matcher(Constraint *constraint, const char *function, const char* matcher_name, intptr_t actual, const char *test_file, int test_line, TestReporter *reporter);
10 +static void test_with_matcher(Constraint *constraint, const char *function, intptr_t actual, const char *test_file, int test_line, TestReporter *reporter);
13 void destroy_constraint(void *abstract) {
14 @@ -168,15 +168,14 @@ static int compare_using_matcher(Constraint *constraint, intptr_t actual) {
15 return matches((void *)actual);
18 -static void test_with_matcher(Constraint *constraint, const char *function, const char* matcher_name, intptr_t matcher_function, const char *test_file, int test_line, TestReporter *reporter) {
19 +static void test_with_matcher(Constraint *constraint, const char *function, intptr_t matcher_function, const char *test_file, int test_line, TestReporter *reporter) {
20 (*reporter->assert_true)(
21 reporter,
22 test_file,
23 test_line,
24 (*constraint->compare)(constraint, matcher_function),
25 - "Wanted parameter [%s] to match [%s] in function [%s]",
26 + "Wanted parameter [%s] to match [nil] in function [%s]",
27 constraint->parameter,
28 - matcher_name,
29 function);