mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-25 10:48:41 +00:00
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.
This commit is contained in:
committed by
Andreas Kling
parent
d73bb2633c
commit
b6eaefa87d
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user