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
1b1e541d
Commit
1b1e541d
authored
3 years ago
by
Edward Thomson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tests: clean up refs::races zero oid test
parent
a6fb72a8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
+3
-1
tests/refs/races.c
+3
-1
No files found.
tests/refs/races.c
View file @
1b1e541d
...
...
@@ -31,10 +31,12 @@ void test_refs_races__create_matching_zero_old(void)
git_oid_fromstr
(
&
zero_id
,
"0000000000000000000000000000000000000000"
);
cl_git_fail
(
git_reference_create_matching
(
&
ref
,
g_repo
,
refname
,
&
id
,
1
,
&
zero_id
,
NULL
));
git_reference_free
(
ref
);
cl_git_pass
(
git_reference_create_matching
(
&
ref
,
g_repo
,
other_refname
,
&
id
,
1
,
&
zero_id
,
NULL
));
cl_git_fail
(
git_reference_create_matching
(
&
ref
,
g_repo
,
other_refname
,
&
id
,
1
,
&
zero_id
,
NULL
)
);
git_reference_free
(
ref
);
cl_git_fail
(
git_reference_create_matching
(
&
ref
,
g_repo
,
other_refname
,
&
id
,
1
,
&
zero_id
,
NULL
));
git_reference_free
(
ref
);
}
...
...
This diff is collapsed.
Click to expand it.
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