summaryrefslogtreecommitdiff
path: root/test/parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/parse.c')
-rw-r--r--test/parse.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/parse.c b/test/parse.c
index 567c8c4..730ba44 100644
--- a/test/parse.c
+++ b/test/parse.c
@@ -91,6 +91,8 @@ int main(int argc, char **argv)
error = css_parser_parse_chunk(parser, buf, CHUNK_SIZE);
assert(error == CSS_OK || error == CSS_NEEDDATA);
+
+ len -= CHUNK_SIZE;
}
if (len > 0) {