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
da5385c6
Commit
da5385c6
authored
Jan 06, 2022
by
Edward Thomson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
status: don't use `// ...` in tests, use `/* ... */`
parent
db3572b7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
tests/status/renames.c
+3
-3
No files found.
tests/status/renames.c
View file @
da5385c6
...
@@ -741,7 +741,7 @@ void test_status_renames__rename_threshold(void)
...
@@ -741,7 +741,7 @@ void test_status_renames__rename_threshold(void)
cl_git_pass
(
git_repository_index
(
&
index
,
g_repo
));
cl_git_pass
(
git_repository_index
(
&
index
,
g_repo
));
/
/ Default threshold
/
* Default threshold */
{
{
struct
status_entry
expected
[]
=
{
struct
status_entry
expected
[]
=
{
{
GIT_STATUS_WT_RENAMED
|
GIT_STATUS_WT_MODIFIED
,
"ikeepsix.txt"
,
"newname.txt"
},
{
GIT_STATUS_WT_RENAMED
|
GIT_STATUS_WT_MODIFIED
,
"ikeepsix.txt"
,
"newname.txt"
},
...
@@ -752,7 +752,7 @@ void test_status_renames__rename_threshold(void)
...
@@ -752,7 +752,7 @@ void test_status_renames__rename_threshold(void)
git_status_list_free
(
statuslist
);
git_status_list_free
(
statuslist
);
}
}
/
/ Threshold set to 90
/
* Threshold set to 90 */
{
{
struct
status_entry
expected
[]
=
{
struct
status_entry
expected
[]
=
{
{
GIT_STATUS_WT_DELETED
,
"ikeepsix.txt"
,
NULL
},
{
GIT_STATUS_WT_DELETED
,
"ikeepsix.txt"
,
NULL
},
...
@@ -766,7 +766,7 @@ void test_status_renames__rename_threshold(void)
...
@@ -766,7 +766,7 @@ void test_status_renames__rename_threshold(void)
git_status_list_free
(
statuslist
);
git_status_list_free
(
statuslist
);
}
}
/
/ Threshold set to 25
/
* Threshold set to 25 */
{
{
struct
status_entry
expected
[]
=
{
struct
status_entry
expected
[]
=
{
{
GIT_STATUS_WT_RENAMED
|
GIT_STATUS_WT_MODIFIED
,
"ikeepsix.txt"
,
"newname.txt"
},
{
GIT_STATUS_WT_RENAMED
|
GIT_STATUS_WT_MODIFIED
,
"ikeepsix.txt"
,
"newname.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