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
a5f8c1bd
Commit
a5f8c1bd
authored
Sep 16, 2011
by
Vicent Marti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add missing prototypes
parent
bcba8460
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
tests-clay/core/rmdir.c
+1
-1
tests-clay/status/worktree.c
+5
-5
No files found.
tests-clay/core/rmdir.c
View file @
a5f8c1bd
...
...
@@ -3,7 +3,7 @@
static
const
char
*
empty_tmp_dir
=
"test_gitfo_rmdir_recurs_test"
;
void
test_core_rmdir__initialize
()
void
test_core_rmdir__initialize
(
void
)
{
char
path
[
GIT_PATH_MAX
];
...
...
tests-clay/status/worktree.c
View file @
a5f8c1bd
...
...
@@ -40,8 +40,8 @@ cb_status__count(const char *GIT_UNUSED(p), unsigned int GIT_UNUSED(s), void *pa
{
volatile
int
*
count
=
(
int
*
)
payload
;
GIT_UNUSED_ARG
(
p
ath
);
GIT_UNUSED_ARG
(
s
tatus_flags
);
GIT_UNUSED_ARG
(
p
);
GIT_UNUSED_ARG
(
s
);
*
count
++
;
...
...
@@ -56,7 +56,7 @@ cb_status__count(const char *GIT_UNUSED(p), unsigned int GIT_UNUSED(s), void *pa
* This method is called once before starting each
* test, and will load the required fixtures
*/
void
test_status_worktree__initialize
()
void
test_status_worktree__initialize
(
void
)
{
/*
* Sandbox the `status/` repository from our Fixtures.
...
...
@@ -97,7 +97,7 @@ void test_status_worktree__cleanup()
/**
* Tests - Status determination on a working tree
*/
void
test_status_worktree__whole_repository
()
void
test_status_worktree__whole_repository
(
void
)
{
struct
status_entry_counts
counts
;
...
...
@@ -113,7 +113,7 @@ void test_status_worktree__whole_repository()
cl_assert
(
counts
.
wrong_sorted_path
==
0
);
}
void
test_status_worktree__empty_repository
()
void
test_status_worktree__empty_repository
(
void
)
{
int
count
=
0
;
...
...
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