diff options
| author | nulltoken <emeric.fermas@gmail.com> | 2012-05-30 00:27:22 +0200 |
|---|---|---|
| committer | nulltoken <emeric.fermas@gmail.com> | 2012-05-30 01:05:17 +0200 |
| commit | d05e2c64dd93da7219c9ebca18c2f3b8478ca93a (patch) | |
| tree | dcb6e7f324084e08e812ce96272ee5985fe94514 /tests-clar/network | |
| parent | 1835c51f58a670e23c9546f942259d53fe626fa2 (diff) | |
| download | libgit2-d05e2c64dd93da7219c9ebca18c2f3b8478ca93a.tar.gz | |
refspec: expose the force update specifier through git_refspec_force() accessor
Diffstat (limited to 'tests-clar/network')
| -rw-r--r-- | tests-clar/network/remotes.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests-clar/network/remotes.c b/tests-clar/network/remotes.c index 0649c86dd..b3a0265e6 100644 --- a/tests-clar/network/remotes.c +++ b/tests-clar/network/remotes.c @@ -92,6 +92,7 @@ void test_network_remotes__save(void) cl_assert(_refspec != NULL); cl_assert_equal_s(git_refspec_src(_refspec), "refs/heads/*"); cl_assert_equal_s(git_refspec_dst(_refspec), "refs/remotes/upstream/*"); + cl_assert(git_refspec_force(_refspec) == 0); _refspec = git_remote_pushspec(_remote); cl_assert(_refspec != NULL); |
