summaryrefslogtreecommitdiff
path: root/tests-clar
diff options
context:
space:
mode:
authorBen Straub <bs@github.com>2013-01-02 12:44:47 -0800
committerBen Straub <bs@github.com>2013-01-02 12:44:47 -0800
commit0642c1431eccdf7aef496c0dc6d64805c513db53 (patch)
treec9471e1cc2f0540b0c4b0621d48fa323e683b008 /tests-clar
parent3de2256708a206bc01bca0fe418b8448d1b41855 (diff)
downloadlibgit2-0642c1431eccdf7aef496c0dc6d64805c513db53.tar.gz
Move `url` to last place in parameter list
Diffstat (limited to 'tests-clar')
-rw-r--r--tests-clar/network/remotelocal.c2
-rw-r--r--tests-clar/network/remoterename.c2
-rw-r--r--tests-clar/network/remotes.c4
3 files changed, 4 insertions, 4 deletions
diff --git a/tests-clar/network/remotelocal.c b/tests-clar/network/remotelocal.c
index 01492ac50..5d6a16a2a 100644
--- a/tests-clar/network/remotelocal.c
+++ b/tests-clar/network/remotelocal.c
@@ -50,7 +50,7 @@ static void connect_to_local_repository(const char *local_repository)
{
git_buf_sets(&file_path_buf, cl_git_path_url(local_repository));
- cl_git_pass(git_remote_create_inmemory(&remote, repo, git_buf_cstr(&file_path_buf), NULL));
+ cl_git_pass(git_remote_create_inmemory(&remote, repo, NULL, git_buf_cstr(&file_path_buf)));
cl_git_pass(git_remote_connect(remote, GIT_DIRECTION_FETCH));
}
diff --git a/tests-clar/network/remoterename.c b/tests-clar/network/remoterename.c
index 90c464ecf..24cfadcc3 100644
--- a/tests-clar/network/remoterename.c
+++ b/tests-clar/network/remoterename.c
@@ -167,7 +167,7 @@ void test_network_remoterename__cannot_rename_an_inmemory_remote(void)
{
git_remote *remote;
- cl_git_pass(git_remote_create_inmemory(&remote, _repo, "file:///blah", NULL));
+ cl_git_pass(git_remote_create_inmemory(&remote, _repo, NULL, "file:///blah"));
cl_git_fail(git_remote_rename(remote, "newname", NULL, NULL));
git_remote_free(remote);
diff --git a/tests-clar/network/remotes.c b/tests-clar/network/remotes.c
index a758c0bbe..e947ffe93 100644
--- a/tests-clar/network/remotes.c
+++ b/tests-clar/network/remotes.c
@@ -255,7 +255,7 @@ void test_network_remotes__cannot_save_an_inmemory_remote(void)
{
git_remote *remote;
- cl_git_pass(git_remote_create_inmemory(&remote, _repo, "git://github.com/libgit2/libgit2", NULL));
+ cl_git_pass(git_remote_create_inmemory(&remote, _repo, NULL, "git://github.com/libgit2/libgit2"));
cl_assert_equal_p(NULL, git_remote_name(remote));
@@ -318,7 +318,7 @@ void test_network_remotes__check_structure_version(void)
git_remote_free(_remote);
_remote = NULL;
- cl_git_pass(git_remote_create_inmemory(&_remote, _repo, "test-protocol://localhost", NULL));
+ cl_git_pass(git_remote_create_inmemory(&_remote, _repo, NULL, "test-protocol://localhost"));
transport.version = 0;
cl_git_fail(git_remote_set_transport(_remote, &transport));