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
a2f8d1ae
Commit
a2f8d1ae
authored
Jun 26, 2015
by
Vicent Marti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
revparse: Add test to make sure this doesn't regress
parent
3d9ef2dc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
tests/refs/revparse.c
+15
-0
No files found.
tests/refs/revparse.c
View file @
a2f8d1ae
...
@@ -812,3 +812,18 @@ void test_refs_revparse__ext_returns_NULL_reference_when_expression_points_at_a_
...
@@ -812,3 +812,18 @@ void test_refs_revparse__ext_returns_NULL_reference_when_expression_points_at_a_
"0266163a49e280c4f5ed1e08facd36a2bd716bcf"
,
"0266163a49e280c4f5ed1e08facd36a2bd716bcf"
,
NULL
);
NULL
);
}
}
void
test_refs_revparse__uneven_sizes
(
void
)
{
test_object
(
"a65fedf39aefe402d3bb6e24df4d4f5fe454775"
,
"a65fedf39aefe402d3bb6e24df4d4f5fe4547750"
);
test_object
(
"a65fedf39aefe402d3bb6e24df4d4f5fe45477"
,
"a65fedf39aefe402d3bb6e24df4d4f5fe4547750"
);
test_object
(
"a65fedf39aefe402d3bb6e24df4d4f5fe4547"
,
"a65fedf39aefe402d3bb6e24df4d4f5fe4547750"
);
test_object
(
"a65fedf39aefe402d3bb6e24df4d"
,
"a65fedf39aefe402d3bb6e24df4d4f5fe4547750"
);
}
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