Skip to content

Commit

Permalink
Tests: Add comments to the HTMLTokenizer regression test file
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxWipfli authored and awesomekling committed Jul 14, 2021
1 parent bb2aed7 commit a9a5491
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/LibWeb/TestHTMLTokenizer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
3 changes: 3 additions & 0 deletions Tests/LibWeb/tokenizer-test.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>

0 comments on commit a9a5491

Please sign in to comment.