mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:17:45 +00:00
Tests: Add comments to the HTMLTokenizer regression test file
This commit is contained in:
parent
bb2aed7d76
commit
a9a54914bf
2 changed files with 4 additions and 1 deletions
|
@ -193,5 +193,5 @@ TEST_CASE(regression)
|
||||||
auto file_contents = file.value()->read_all();
|
auto file_contents = file.value()->read_all();
|
||||||
auto tokens = run_tokenizer(file_contents);
|
auto tokens = run_tokenizer(file_contents);
|
||||||
u32 hash = hash_tokens(tokens);
|
u32 hash = hash_tokens(tokens);
|
||||||
EXPECT_EQ(hash, 1328591125u);
|
EXPECT_EQ(hash, 2891738465u);
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,5 +7,8 @@
|
||||||
<body>
|
<body>
|
||||||
<p>This is the first paragraph.</p>
|
<p>This is the first paragraph.</p>
|
||||||
<p foo="bar">The second paragraph has an attribute!</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>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue