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
bfdc0971
Commit
bfdc0971
authored
Nov 11, 2021
by
Edward Thomson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test: correct test names
parent
ca14942e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
tests/odb/loose.c
+1
-1
tests/refs/branches/name.c
+1
-1
tests/refs/tags/name.c
+1
-1
No files found.
tests/odb/loose.c
View file @
bfdc0971
...
@@ -228,7 +228,7 @@ void test_odb_loose__permissions_standard(void)
...
@@ -228,7 +228,7 @@ void test_odb_loose__permissions_standard(void)
test_write_object_permission
(
0
,
0
,
GIT_OBJECT_DIR_MODE
,
GIT_OBJECT_FILE_MODE
);
test_write_object_permission
(
0
,
0
,
GIT_OBJECT_DIR_MODE
,
GIT_OBJECT_FILE_MODE
);
}
}
void
test_odb_loose_permissions_readonly
(
void
)
void
test_odb_loose_
_
permissions_readonly
(
void
)
{
{
test_write_object_permission
(
0777
,
0444
,
0777
,
0444
);
test_write_object_permission
(
0777
,
0444
,
0777
,
0444
);
}
}
...
...
tests/refs/branches/name.c
View file @
bfdc0971
...
@@ -51,7 +51,7 @@ static int name_is_valid(const char *name)
...
@@ -51,7 +51,7 @@ static int name_is_valid(const char *name)
return
valid
;
return
valid
;
}
}
void
test_refs_branches_is_name_valid
(
void
)
void
test_refs_branches_
name__
is_name_valid
(
void
)
{
{
cl_assert_equal_i
(
true
,
name_is_valid
(
"master"
));
cl_assert_equal_i
(
true
,
name_is_valid
(
"master"
));
cl_assert_equal_i
(
true
,
name_is_valid
(
"test/master"
));
cl_assert_equal_i
(
true
,
name_is_valid
(
"test/master"
));
...
...
tests/refs/tags/name.c
View file @
bfdc0971
...
@@ -7,7 +7,7 @@ static int name_is_valid(const char *name)
...
@@ -7,7 +7,7 @@ static int name_is_valid(const char *name)
return
valid
;
return
valid
;
}
}
void
test_refs_tags_is_name_valid
(
void
)
void
test_refs_tags_
name__
is_name_valid
(
void
)
{
{
cl_assert_equal_i
(
true
,
name_is_valid
(
"sometag"
));
cl_assert_equal_i
(
true
,
name_is_valid
(
"sometag"
));
cl_assert_equal_i
(
true
,
name_is_valid
(
"test/sometag"
));
cl_assert_equal_i
(
true
,
name_is_valid
(
"test/sometag"
));
...
...
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