summaryrefslogtreecommitdiff
path: root/tests/clone/local.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/clone/local.c')
-rw-r--r--tests/clone/local.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/clone/local.c b/tests/clone/local.c
index f14b33c17..91a0a1c2a 100644
--- a/tests/clone/local.c
+++ b/tests/clone/local.c
@@ -171,7 +171,7 @@ void test_clone_local__standard_unc_paths_are_written_git_style(void)
cl_git_pass(git_style_unc_path(&git_unc, "localhost", path));
cl_git_pass(git_clone(&repo, unc.ptr, "./clone.git", &opts));
- cl_git_pass(git_remote_load(&remote, repo, "origin"));
+ cl_git_pass(git_remote_lookup(&remote, repo, "origin"));
cl_assert_equal_s(git_unc.ptr, git_remote_url(remote));
@@ -198,7 +198,7 @@ void test_clone_local__git_style_unc_paths(void)
cl_git_pass(git_style_unc_path(&git_unc, "localhost", path));
cl_git_pass(git_clone(&repo, git_unc.ptr, "./clone.git", &opts));
- cl_git_pass(git_remote_load(&remote, repo, "origin"));
+ cl_git_pass(git_remote_lookup(&remote, repo, "origin"));
cl_assert_equal_s(git_unc.ptr, git_remote_url(remote));