diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2015-04-23 06:55:29 +0200 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2015-05-13 09:46:36 +0200 |
commit | a4b6452a6a32ac94c5c616eb4cc9c691d954732e (patch) | |
tree | fc746bdcdaafcff7639d09d211e75258495ae0b5 /tests | |
parent | 7725499072aaf4d9093c615fee5a65d8477100bc (diff) | |
download | libgit2-a4b6452a6a32ac94c5c616eb4cc9c691d954732e.tar.gz |
remote: remove git_remote_save()
It has now become a no-op, so remove the function and all references to
it.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/network/remote/remotes.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/tests/network/remote/remotes.c b/tests/network/remote/remotes.c index 0da76da6c..f81c1ccc0 100644 --- a/tests/network/remote/remotes.c +++ b/tests/network/remote/remotes.c @@ -319,18 +319,6 @@ void test_network_remote_remotes__cannot_add_a_nameless_remote(void) git_remote_create(&remote, _repo, NULL, "git://github.com/libgit2/libgit2")); } -void test_network_remote_remotes__cannot_save_an_inmemory_remote(void) -{ - git_remote *remote; - - cl_git_pass(git_remote_create_anonymous(&remote, _repo, "git://github.com/libgit2/libgit2", NULL)); - - cl_assert_equal_p(NULL, git_remote_name(remote)); - - cl_git_fail(git_remote_save(remote)); - git_remote_free(remote); -} - void test_network_remote_remotes__cannot_add_a_remote_with_an_invalid_name(void) { git_remote *remote = NULL; |