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
107e30e9
Commit
107e30e9
authored
Sep 30, 2011
by
Vicent Marti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
core: One last `long long`
parent
fafd4710
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
tests/t00-core.c
+2
-2
No files found.
tests/t00-core.c
View file @
107e30e9
...
@@ -556,7 +556,7 @@ BEGIN_TEST(rmdir1, "make sure non-empty dir cannot be deleted recusively")
...
@@ -556,7 +556,7 @@ BEGIN_TEST(rmdir1, "make sure non-empty dir cannot be deleted recusively")
END_TEST
END_TEST
BEGIN_TEST
(
strtol0
,
"parsing out 32 integers from a string"
)
BEGIN_TEST
(
strtol0
,
"parsing out 32 integers from a string"
)
int
i
;
int
32_t
i
;
must_pass
(
git__strtol32
(
&
i
,
"123"
,
NULL
,
10
));
must_pass
(
git__strtol32
(
&
i
,
"123"
,
NULL
,
10
));
must_be_true
(
i
==
123
);
must_be_true
(
i
==
123
);
...
@@ -575,7 +575,7 @@ BEGIN_TEST(strtol0, "parsing out 32 integers from a string")
...
@@ -575,7 +575,7 @@ BEGIN_TEST(strtol0, "parsing out 32 integers from a string")
END_TEST
END_TEST
BEGIN_TEST
(
strtol1
,
"parsing out 64 integers from a string"
)
BEGIN_TEST
(
strtol1
,
"parsing out 64 integers from a string"
)
long
long
i
;
int64_t
i
;
must_pass
(
git__strtol64
(
&
i
,
"123"
,
NULL
,
10
));
must_pass
(
git__strtol64
(
&
i
,
"123"
,
NULL
,
10
));
must_be_true
(
i
==
123
);
must_be_true
(
i
==
123
);
...
...
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