diff options
author | Adam Hodgen <ant1441@gmail.com> | 2022-02-18 23:02:52 +0000 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-02-21 16:31:45 +0100 |
commit | b6eaefa87d71d2e6c9d9b0dde6990f9675c7d579 (patch) | |
tree | d57a918aa18579cae4d9e1f2b52e09ad9356cd57 /Tests/LibWeb/TestHTMLTokenizer.cpp | |
parent | d73bb2633ca2343905c5cf03b10944f7f8ffc891 (diff) | |
download | serenity-b6eaefa87d71d2e6c9d9b0dde6990f9675c7d579.zip |
LibWeb: Fix 'Comment end state' in HTML Tokenizer
Also, update the expected hash in the LibWeb TestHTMLTokenizer
regression test.
This is due to the "This comment has a few too many dashes." comment
token being updated.
Diffstat (limited to 'Tests/LibWeb/TestHTMLTokenizer.cpp')
-rw-r--r-- | Tests/LibWeb/TestHTMLTokenizer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/LibWeb/TestHTMLTokenizer.cpp b/Tests/LibWeb/TestHTMLTokenizer.cpp index da84b9e295..67a34864d3 100644 --- a/Tests/LibWeb/TestHTMLTokenizer.cpp +++ b/Tests/LibWeb/TestHTMLTokenizer.cpp @@ -206,5 +206,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, 3215459107u); + EXPECT_EQ(hash, 710375345u); } |