Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
b15e7f2d
Unverified
Commit
b15e7f2d
authored
Aug 12, 2019
by
Ian Hattendorf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
clone: Update whitespace test url
parent
42ea2f95
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
tests/online/clone.c
+4
-4
No files found.
tests/online/clone.c
View file @
b15e7f2d
...
@@ -866,8 +866,8 @@ void test_online_clone__proxy_cred_callback_after_failed_url_creds(void)
...
@@ -866,8 +866,8 @@ void test_online_clone__proxy_cred_callback_after_failed_url_creds(void)
void
test_online_clone__path_whitespace
(
void
)
void
test_online_clone__path_whitespace
(
void
)
{
{
cl_git_pass
(
git_clone
(
&
g_repo
,
"https://
dev.azure.com/ianhattendorf/With%20Space/_git/With%20Spac
e"
,
"./foo"
,
&
g_options
));
cl_git_pass
(
git_clone
(
&
g_repo
,
"https://
libgit2@dev.azure.com/libgit2/test/_git/spaces%20in%20the%20nam
e"
,
"./foo"
,
&
g_options
));
cl_assert
(
git_path_exists
(
"./foo/
README.md
"
));
cl_assert
(
git_path_exists
(
"./foo/
master.txt
"
));
}
}
void
test_online_clone__path_whitespace_ssh
(
void
)
void
test_online_clone__path_whitespace_ssh
(
void
)
...
@@ -881,6 +881,6 @@ void test_online_clone__path_whitespace_ssh(void)
...
@@ -881,6 +881,6 @@ void test_online_clone__path_whitespace_ssh(void)
g_options
.
fetch_opts
.
callbacks
.
credentials
=
cred_cb
;
g_options
.
fetch_opts
.
callbacks
.
credentials
=
cred_cb
;
g_options
.
fetch_opts
.
callbacks
.
certificate_check
=
NULL
;
g_options
.
fetch_opts
.
callbacks
.
certificate_check
=
NULL
;
cl_git_pass
(
git_clone
(
&
g_repo
,
"ssh://git@ssh.dev.azure.com/v3/
ianhattendorf/With%20Space/With%20Spac
e"
,
"./foo"
,
&
g_options
));
cl_git_pass
(
git_clone
(
&
g_repo
,
"ssh://git@ssh.dev.azure.com/v3/
libgit2/test/spaces%20in%20the%20nam
e"
,
"./foo"
,
&
g_options
));
cl_assert
(
git_path_exists
(
"./foo/
README.md
"
));
cl_assert
(
git_path_exists
(
"./foo/
master.txt
"
));
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment