diff options
author | Martin Fischer <martin@push-f.com> | 2023-08-11 22:55:47 +0200 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2023-08-19 06:41:55 +0200 |
commit | 2c6021ffa738b38be9a51a6ba4872d018404afc1 (patch) | |
tree | e2cbe2b23f4931f2e63ce5b38c2c2b0e35a4766b /tests | |
parent | 620deab83d13d9aeca3bb894e6fc20c516c1405f (diff) |
break!: rename PosTracker to PosTrackingReader
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_spans.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_spans.rs b/tests/test_spans.rs index 2d32260..da3f09c 100644 --- a/tests/test_spans.rs +++ b/tests/test_spans.rs @@ -7,7 +7,7 @@ use codespan_reporting::{ term::{self, termcolor::Buffer}, }; use html5tokenizer::{ - spans::PosTracker, DefaultEmitter, IntoReader, StringReader, Token, Tokenizer, + spans::PosTrackingReader, DefaultEmitter, IntoReader, StringReader, Token, Tokenizer, }; #[test] @@ -19,11 +19,11 @@ fn test() { let mut labels = Vec::new(); for token in Tokenizer::new_with_emitter( - PosTracker { + PosTrackingReader { reader: html.into_reader(), position: 0, }, - DefaultEmitter::<PosTracker<StringReader>, Range<usize>>::default(), + DefaultEmitter::<PosTrackingReader<StringReader>, Range<usize>>::default(), ) .flatten() { |