aboutsummaryrefslogtreecommitdiff
path: root/integration_tests/tests/test_html5lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'integration_tests/tests/test_html5lib.rs')
-rw-r--r--integration_tests/tests/test_html5lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/integration_tests/tests/test_html5lib.rs b/integration_tests/tests/test_html5lib.rs
index eac11dd..42d93f1 100644
--- a/integration_tests/tests/test_html5lib.rs
+++ b/integration_tests/tests/test_html5lib.rs
@@ -107,7 +107,7 @@ fn run_test_inner<R, O, E, T>(
R: Reader + Position<O>,
O: Offset,
E: Emitter<O> + Iterator<Item = T> + DrainErrors<O>,
- T: Into<Token<O>>,
+ T: Into<Token>,
{
println!(
"==== FILE {}, TEST {}, STATE {:?}, TOKENIZER {} ====",
@@ -156,7 +156,7 @@ fn run_test_inner<R, O, E, T>(
actual_tokens.push(TestToken::Character(c.into()));
}
}
- Token::Comment(comment) => actual_tokens.push(TestToken::Comment(comment.data)),
+ Token::Comment(comment) => actual_tokens.push(TestToken::Comment(comment)),
Token::Doctype(doctype) => actual_tokens.push(TestToken::Doctype {
name: doctype.name,
public_id: doctype.public_id,