Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
hiredis
Commits
628a961f
Commit
628a961f
authored
Jul 12, 2011
by
Pieter Noordhuis
Browse files
Make test more exhaustive
parent
6e98f373
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/parser.c
View file @
628a961f
...
...
@@ -134,8 +134,8 @@ void test_char_by_char(redis_protocol_t *_unused, const char *buf, size_t len) {
ref
=
dup_cb_log
();
p
=
malloc
(
sizeof
(
redis_parser_t
));
for
(
i
=
0
;
i
<
(
len
-
2
);
i
++
)
{
for
(
j
=
i
+
1
;
j
<
(
len
-
1
)
;
j
++
)
{
for
(
i
=
0
;
i
<
(
len
-
1
);
i
++
)
{
for
(
j
=
i
+
1
;
j
<
len
;
j
++
)
{
RESET_PARSER_T
(
p
);
#ifdef DEBUG
...
...
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