aboutsummaryrefslogtreecommitdiff
path: root/integration_tests
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2023-08-17 15:21:32 +0200
committerMartin Fischer <martin@push-f.com>2023-08-19 11:41:55 +0200
commit4d9cf7171836625b61dcfe675bdf9452766166c0 (patch)
tree90bc623a08b945439b6a5077bdfdf54de7eacc37 /integration_tests
parentc169e78f120ea9be451f337306b8bff6c1fb4955 (diff)
feat!: add offset to comments
Diffstat (limited to 'integration_tests')
-rw-r--r--integration_tests/tests/test_html5lib.rs2
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,