From 7ffaf8876492dd862f6a792391cc0a0e2c1e3481 Mon Sep 17 00:00:00 2001 From: Markus Unterwaditzer Date: Sun, 21 May 2023 21:01:22 +0200 Subject: [PATCH] Add testcase: Incorrectly opened comment in script data lol-html fails this testcase because its "tokenizer" aims to be too smart and infers state change based on script data. It's a problem with their test harness because they run the wrong layer of abstraction IMO. I just sort of winged the line/col information, it would be good to get those CI PRs merged so there's some sanity checks. --- tokenizer/test4.test | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tokenizer/test4.test b/tokenizer/test4.test index 8963c747..ba78ee7a 100644 --- a/tokenizer/test4.test +++ b/tokenizer/test4.test @@ -527,6 +527,16 @@ "output":[], "errors":[ { "code": "eof-in-tag", "line": 1, "col": 10 } +]}, + +{"description":"EOF in comment in script data", +"input": "