mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-11 05:25:32 +03: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
@ -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…
Reference in New Issue
Block a user