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.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/integration_tests/tests/test_html5lib.rs b/integration_tests/tests/test_html5lib.rs
index 7511f11..fd69524 100644
--- a/integration_tests/tests/test_html5lib.rs
+++ b/integration_tests/tests/test_html5lib.rs
@@ -3,7 +3,9 @@ use std::{fs::File, io::BufReader, path::Path};
use html5lib_tests::{
parse_tests, Error as TestError, InitialState, Output, Test, Token as TestToken,
};
-use html5tokenizer::{reader::Reader, DefaultEmitter, InternalState, Token, Tokenizer};
+use html5tokenizer::{
+ offset::NoopOffset, reader::Reader, DefaultEmitter, InternalState, Token, Tokenizer,
+};
use similar_asserts::assert_eq;
/// Path to a local checkout of [html5lib-tests], relative to the
@@ -92,7 +94,7 @@ fn run_test_inner<R: Reader>(
test_i: usize,
test: &Test,
state: &InitialState,
- mut tokenizer: Tokenizer<R>,
+ mut tokenizer: Tokenizer<R, NoopOffset, DefaultEmitter>,
tokenizer_info: &str,
) {
println!(