From d46de6ab592e57a31fef13cfc015c4ce818e8f47 Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Fri, 15 Sep 2023 09:40:55 +0200 Subject: feat: add span to Trace::Char --- tests/test_spans.rs | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'tests') diff --git a/tests/test_spans.rs b/tests/test_spans.rs index d19d6aa..b10808c 100644 --- a/tests/test_spans.rs +++ b/tests/test_spans.rs @@ -72,6 +72,26 @@ fn annotate(html: &str, labels: Vec<(Range, impl AsRef)>) -> String .join("") } +#[test] +fn char_span() { + let html = "X & &doesntexist; ѣ "; -- cgit v1.2.3