diff options
Diffstat (limited to 'integration_tests/tests/test_html5lib.rs')
-rw-r--r-- | integration_tests/tests/test_html5lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/integration_tests/tests/test_html5lib.rs b/integration_tests/tests/test_html5lib.rs index 209e199..0f96063 100644 --- a/integration_tests/tests/test_html5lib.rs +++ b/integration_tests/tests/test_html5lib.rs @@ -135,7 +135,7 @@ fn run_test_inner<R: Reader>( }), Token::EndTag(tag) => actual.tokens.push(TestToken::EndTag { name: tag.name }), Token::String(data) => actual.tokens.push(TestToken::Character(data)), - Token::Comment(data) => actual.tokens.push(TestToken::Comment(data)), + Token::Comment(comment) => actual.tokens.push(TestToken::Comment(comment.data)), Token::Doctype(doctype) => actual.tokens.push(TestToken::Doctype { name: Some(doctype.name).filter(|name| !name.is_empty()), public_id: doctype.public_identifier, |