mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-24 13:35:12 +00:00
Tests: Add comments to the HTMLTokenizer regression test file
This commit is contained in:
parent
bb2aed7d76
commit
a9a54914bf
Notes:
sideshowbarker
2024-07-18 09:00:51 +09:00
Author: https://github.com/MaxWipfli Commit: https://github.com/SerenityOS/serenity/commit/a9a54914bf2 Pull-request: https://github.com/SerenityOS/serenity/pull/8759 Issue: https://github.com/SerenityOS/serenity/issues/8757
2 changed files with 4 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue