summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2023-09-01 12:07:51 +0200
committerMartin Fischer <martin@push-f.com>2023-09-03 23:00:05 +0200
commit0581e619867bde2374376265b24169b404187529 (patch)
tree04b369238b4e13af15fed2324423d1e86d22aaf6 /tests
parentf239037c1b960ba16c6c8b2184ac017c53c631bf (diff)
fix!: make attribute spans encoding-independent
Diffstat (limited to 'tests')
-rw-r--r--tests/test_spans.rs4
1 files changed, 1 insertions, 3 deletions
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###"
<test x xyz y=VAL xy=VAL z = VAL yzx = VAL>
^ ^^^ ^ ^^ ^ ^^^
@@ -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
);
}