Skip to content

Commit 470acc7

Browse files
committed
rebase: fix (deprecated) signing test
1 parent 62eb2f8 commit 470acc7

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

tests/rebase/sign.c

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -249,20 +249,20 @@ void test_rebase_sign__create_propagates_error(void)
249249
}
250250

251251
#ifndef GIT_DEPRECATE_HARD
252-
int signing_cb_passthrough(
253-
git_buf *signature,
254-
git_buf *signature_field,
255-
const char *commit_content,
256-
void *payload)
257-
{
258-
static const char *expected_commit_content = "\
252+
static const char *expected_commit_content = "\
259253
tree cd99b26250099fc38d30bfaed7797a7275ed3366\n\
260254
parent f87d14a4a236582a0278a916340a793714256864\n\
261255
author Edward Thomson <ethomson@edwardthomson.com> 1405625055 -0400\n\
262256
committer Rebaser <rebaser@rebaser.rb> 1405694510 +0000\n\
263257
\n\
264258
Modification 3 to gravy\n";
265259

260+
int signing_cb_passthrough(
261+
git_buf *signature,
262+
git_buf *signature_field,
263+
const char *commit_content,
264+
void *payload)
265+
{
266266
cl_assert_equal_b(false, git_buf_is_allocated(signature));
267267
cl_assert_equal_b(false, git_buf_is_allocated(signature_field));
268268
cl_assert_equal_s(expected_commit_content, commit_content);

0 commit comments

Comments
 (0)