aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test_spans.rs14
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/test_spans.rs b/tests/test_spans.rs
index f22a2aa..7eb7b8a 100644
--- a/tests/test_spans.rs
+++ b/tests/test_spans.rs
@@ -249,7 +249,7 @@ fn error_char_ref_absence_of_digits() {
let html = "&#qux;";
assert_snapshot!(annotate_errors(html), @r###"
&#qux;
- ^ absence-of-digits-in-numeric-character-reference
+ ^^^ absence-of-digits-in-numeric-character-reference
"###);
}
@@ -258,7 +258,7 @@ fn error_char_ref_control_char() {
let html = "";
assert_snapshot!(annotate_errors(html), @r###"

- ^ control-character-reference
+ ^^^^^^ control-character-reference
"###);
}
@@ -276,7 +276,7 @@ fn error_char_ref_noncharacter() {
let html = "";
assert_snapshot!(annotate_errors(html), @r###"

- ^ noncharacter-character-reference
+ ^^^^^^^^ noncharacter-character-reference
"###);
}
@@ -285,7 +285,7 @@ fn error_char_ref_null_char() {
let html = "�";
assert_snapshot!(annotate_errors(html), @r###"
�
- ^ null-character-reference
+ ^^^^ null-character-reference
"###);
}
@@ -294,7 +294,7 @@ fn error_char_ref_outside_unicode_range() {
let html = "�";
assert_snapshot!(annotate_errors(html), @r###"
�
- ^ character-reference-outside-unicode-range
+ ^^^^^^^^^^ character-reference-outside-unicode-range
"###);
}
@@ -303,7 +303,7 @@ fn error_char_ref_surrogate() {
let html = "�";
assert_snapshot!(annotate_errors(html), @r###"
�
- ^ surrogate-character-reference
+ ^^^^^^^^ surrogate-character-reference
"###);
}
@@ -312,7 +312,7 @@ fn error_char_ref_unknown_named() {
let html = "The pirate says &arrrrr;";
assert_snapshot!(annotate_errors(html), @r###"
The pirate says &arrrrr;
- ^ unknown-named-character-reference
+ ^^^^^^^^ unknown-named-character-reference
"###);
}