From 16b83019af63d837b6934bcf1b71b8697d5d94c8 Mon Sep 17 00:00:00 2001 From: Russell Belfer Date: Sun, 4 Mar 2012 23:28:36 -0800 Subject: Fix usage of "new" for fieldname in public header This should restore the ability to include libgit2 headers in C++ projects. Cherry picked 2de60205dfea2c4a422b2108a5e8605f97c2e895 from development into new-error-handling. --- tests-clar/diff/patch.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests-clar/diff/patch.c') diff --git a/tests-clar/diff/patch.c b/tests-clar/diff/patch.c index fdb79a475..05e748667 100644 --- a/tests-clar/diff/patch.c +++ b/tests-clar/diff/patch.c @@ -59,8 +59,8 @@ check_range: cl_assert_equal_i(0, range->new_lines); check_delta: - cl_assert_equal_s("subdir.txt", delta->old.path); - cl_assert_equal_s("subdir.txt", delta->new.path); + cl_assert_equal_s("subdir.txt", delta->old_file.path); + cl_assert_equal_s("subdir.txt", delta->new_file.path); cl_assert_equal_i(GIT_DELTA_DELETED, delta->status); return 0; -- cgit v1.2.1