aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2023-08-11 21:25:21 +0200
committerMartin Fischer <martin@push-f.com>2023-08-19 06:41:55 +0200
commit83144505291319395c1ba40035cf933786bf3422 (patch)
treef7b9cb85c8000ab3690b1813e4ee0f020dba5873 /tests
parent410bff8467a29eae8a7fba26176b8e8d25b734a2 (diff)
break!: remove InfallibleTokenizer in favor of Iterator::flatten
Diffstat (limited to 'tests')
-rw-r--r--tests/test_spans.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_spans.rs b/tests/test_spans.rs
index 61b70ce..2d32260 100644
--- a/tests/test_spans.rs
+++ b/tests/test_spans.rs
@@ -25,7 +25,7 @@ fn test() {
},
DefaultEmitter::<PosTracker<StringReader>, Range<usize>>::default(),
)
- .infallible()
+ .flatten()
{
if let Token::StartTag(tag) = token {
if tag.name == "h1" {