Commit 1748f92c1a999a22ea179107bd024a8b62ce441e

Ian Hattendorf 2019-07-24T16:36:45

clone: whitespace in url test

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/tests/online/clone.c b/tests/online/clone.c
index 60aaeeb..e0f422a 100644
--- a/tests/online/clone.c
+++ b/tests/online/clone.c
@@ -863,3 +863,8 @@ void test_online_clone__proxy_cred_callback_after_failed_url_creds(void)
 
 	git_buf_dispose(&url);
 }
+
+void test_online_clone__url_whitespace(void)
+{
+	cl_git_pass(git_clone(&g_repo, "https://dev.azure.com/ianhattendorf/With%20Space/_git/With%20Space", "./foo", &g_options));
+}