diff options
author | Ben Straub <bs@github.com> | 2013-10-31 13:29:16 -0700 |
---|---|---|
committer | Ben Straub <bs@github.com> | 2013-10-31 13:29:16 -0700 |
commit | 887df99f17c44b0726e0034885ea922b99254933 (patch) | |
tree | f01287a026dfa0e504db5c32369c3af7afd6065e | |
parent | 151b321898a4b24bfa25f0c4a6bacf6565e0cdb4 (diff) | |
download | libgit2-887df99f17c44b0726e0034885ea922b99254933.tar.gz |
Test another bad URL
-rw-r--r-- | tests-clar/clone/nonetwork.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests-clar/clone/nonetwork.c b/tests-clar/clone/nonetwork.c index 90e1e6439..a286e2a8f 100644 --- a/tests-clar/clone/nonetwork.c +++ b/tests-clar/clone/nonetwork.c @@ -58,7 +58,9 @@ void test_clone_nonetwork__bad_urls(void) cl_git_fail(git_clone(&g_repo, "git://example.com:asdf", "./foo", &g_options)); cl_git_fail(git_clone(&g_repo, "https://example.com:asdf/foo", "./foo", &g_options)); cl_git_fail(git_clone(&g_repo, "git://github.com/git://github.com/foo/bar.git.git", - "./bar", &g_options)); + "./foo", &g_options)); + cl_git_fail(git_clone(&g_repo, "arrbee:my/bad:password@github.com:1111/strange:words.git", + "./foo", &g_options)); } void test_clone_nonetwork__do_not_clean_existing_directory(void) |