diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2021-07-30 08:56:34 -0400 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2021-07-30 08:56:34 -0400 |
commit | f2915ec488898efe956c90c322fff67d0030f92f (patch) | |
tree | 9e4c3ba02deeeb3e63a5cc4f794f87be761319f6 | |
parent | 55f2abb834e28fc6f04327a1a24b73f0de2b9487 (diff) | |
download | libgit2-f2915ec488898efe956c90c322fff67d0030f92f.tar.gz |
tests: reformat upstream merge
-rw-r--r-- | tests/refs/branches/upstream.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/refs/branches/upstream.c b/tests/refs/branches/upstream.c index f6fd509b8..c94afe9e8 100644 --- a/tests/refs/branches/upstream.c +++ b/tests/refs/branches/upstream.c @@ -75,8 +75,8 @@ void test_refs_branches_upstream__upstream_merge(void) { git_reference *branch; git_repository *repository; - git_buf buf = GIT_BUF_INIT; - + git_buf buf = GIT_BUF_INIT; + repository = cl_git_sandbox_init("testrepo.git"); /* check repository */ @@ -89,9 +89,9 @@ void test_refs_branches_upstream__upstream_merge(void) git_reference_free(branch); /* check merge branch */ - cl_git_pass(git_branch_upstream_merge(&buf, repository, "refs/heads/test")); - cl_assert_equal_s("refs/heads/master", buf.ptr); - git_buf_dispose(&buf); + cl_git_pass(git_branch_upstream_merge(&buf, repository, "refs/heads/test")); + cl_assert_equal_s("refs/heads/master", buf.ptr); + git_buf_dispose(&buf); } void test_refs_branches_upstream__upstream_remote_empty_value(void) |