diff options
Diffstat (limited to 'tests')
-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 99ff9ee..6bd9378 100644 --- a/tests/test_spans.rs +++ b/tests/test_spans.rs @@ -127,7 +127,7 @@ fn attribute_value_span() { panic!("expected start tag") }; for attr in &tag.attributes { - labels.push((attr.value_span(), "")); + labels.push((attr.value_span().unwrap(), "")); } assert_snapshot!(annotate(html, labels), @r###" <test x=unquoted y = unquoted z='single-quoted' zz="double-quoted" empty=''> |