aboutsummaryrefslogtreecommitdiff
path: root/integration_tests
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2023-08-19 11:46:27 +0200
committerMartin Fischer <martin@push-f.com>2023-08-19 13:41:55 +0200
commit8eb2a95a483bddc8c6a6a8a30dff68c290277075 (patch)
tree9d7a587ccccb6289fa9bced703d39729bd8d7d53 /integration_tests
parent82898967320f90116bbc686ab7ffc2f61ff456c4 (diff)
break!: remove type param defaults from Tokenizer
Diffstat (limited to 'integration_tests')
-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!(