From 887df99f17c44b0726e0034885ea922b99254933 Mon Sep 17 00:00:00 2001 From: Ben Straub Date: Thu, 31 Oct 2013 13:29:16 -0700 Subject: [PATCH] Test another bad URL --- tests-clar/clone/nonetwork.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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)