From 0581e619867bde2374376265b24169b404187529 Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Fri, 1 Sep 2023 12:07:51 +0200 Subject: fix!: make attribute spans encoding-independent --- tests/test_spans.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/test_spans.rs b/tests/test_spans.rs index 14d92b2..cb3ee18 100644 --- a/tests/test_spans.rs +++ b/tests/test_spans.rs @@ -150,7 +150,7 @@ fn attribute_name_span() { } labels }; - assert_panics_but_should_not(|| assert_char_encoding_independence(html, labeler)); // FIXME + assert_char_encoding_independence(html, labeler); assert_snapshot!(test_and_annotate(html, labeler), @r###" ^ ^^^ ^ ^^ ^ ^^^ @@ -341,8 +341,6 @@ fn annotate_errors(html: &'static str) -> String { *doesnt_support_utf16.lock().unwrap() = matches!( error, - | Error::DuplicateAttribute // FIXME - | Error::EndTagWithAttributes // FIXME | Error::EndTagWithTrailingSolidus // FIXME ); } -- cgit v1.2.3