Commit 628a961f authored by Pieter Noordhuis's avatar Pieter Noordhuis
Browse files

Make test more exhaustive

parent 6e98f373
...@@ -134,8 +134,8 @@ void test_char_by_char(redis_protocol_t *_unused, const char *buf, size_t len) { ...@@ -134,8 +134,8 @@ void test_char_by_char(redis_protocol_t *_unused, const char *buf, size_t len) {
ref = dup_cb_log(); ref = dup_cb_log();
p = malloc(sizeof(redis_parser_t)); p = malloc(sizeof(redis_parser_t));
for (i = 0; i < (len-2); i++) { for (i = 0; i < (len-1); i++) {
for (j = i+1; j < (len-1); j++) { for (j = i+1; j < len; j++) {
RESET_PARSER_T(p); RESET_PARSER_T(p);
#ifdef DEBUG #ifdef DEBUG
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment