JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
fix parser_tests.js to use new api
authorJason Woofenden <jason@jasonwoof.com>
Wed, 7 Jun 2017 03:26:56 +0000 (23:26 -0400)
committerJason Woofenden <jason@jasonwoof.com>
Wed, 7 Jun 2017 03:26:56 +0000 (23:26 -0400)
parser_tests.js

index 5a4f9f2..19eb4a7 100644 (file)
@@ -8003,7 +8003,7 @@ test_parser = function (args) {
                parse_errors.push(i)
        }
        prev_node_id = 0 // reset counter
-       parsed = peach_parser(args.html, args)
+       parsed = peach_parser.parse(args.html, args)
        serialized = serialize_els(parsed)
        if (serialized !== args.expected) {
                test_results.failed += 1