diff options
Diffstat (limited to 'tests/test_spans.rs')
-rw-r--r-- | tests/test_spans.rs | 2 |
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" { |