summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/data/tree-construction/INDEX6
-rw-r--r--test/tree2.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/test/data/tree-construction/INDEX b/test/data/tree-construction/INDEX
index c249b98..fade2d6 100644
--- a/test/data/tree-construction/INDEX
+++ b/test/data/tree-construction/INDEX
@@ -12,12 +12,12 @@ comments01.dat html5lib treebuilder tests
#domjs-unsafe.dat NA
entities01.dat html5lib tests for special characters
entities02.dat html5lib tests for special characters
-#html5test-com.dat NA
+html5test-com.dat html5lib treebuilder tests
inbody01.dat html5lib Insertion Mode specific tests
isindex.dat html5lib treebuilder tests for isindex element
-#main-element.dat NA
+main-element.dat html5lib tests
pending-spec-changes.dat html5lib treebuilder tests
-#pending-spec-changes-plain-text-unsafe.dat NA
+pending-spec-changes-plain-text-unsafe.dat html5lib tests for special characters
#plain-text-unsafe.dat NA
README.md html5lib treebuilder tests
regression.dat html5lib treebuilder tests
diff --git a/test/tree2.c b/test/tree2.c
index d5d4c72..15e9901 100644
--- a/test/tree2.c
+++ b/test/tree2.c
@@ -251,7 +251,7 @@ int main(int argc, char **argv)
assert(hubbub_parser_completed(parser) == HUBBUB_OK);
state = READING_ERRORS;
} else {
- size_t len = strlen(line);
+ size_t len = parse_strlen(line,sizeof line);
if (state == READING_DATA_AFTER_FIRST) {
assert(hubbub_parser_parse_chunk(parser,