Tests: Add comments to the HTMLTokenizer regression test file

This commit is contained in:
Max Wipfli 2021-07-15 00:43:18 +02:00 committed by Andreas Kling
parent bb2aed7d76
commit a9a54914bf
Notes: sideshowbarker 2024-07-18 09:00:51 +09:00
2 changed files with 4 additions and 1 deletions

View File

@ -193,5 +193,5 @@ TEST_CASE(regression)
auto file_contents = file.value()->read_all();
auto tokens = run_tokenizer(file_contents);
u32 hash = hash_tokens(tokens);
EXPECT_EQ(hash, 1328591125u);
EXPECT_EQ(hash, 2891738465u);
}

View File

@ -7,5 +7,8 @@
<body>
<p>This is the first paragraph.</p>
<p foo="bar">The second paragraph has an attribute!</p>
<!-- This is a standard HTML comment. -->
<!----- This comment has a few too many dashes. ----->
<!----> <!-- <= There is an empty comment over there. -->
</body>
</html>