From bbb00e4a029187ec9e0998639d3470f463c4a798 Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Fri, 1 Sep 2023 19:13:34 +0200 Subject: fix: off-by-one eof error spans --- tests/test_spans.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tests') diff --git a/tests/test_spans.rs b/tests/test_spans.rs index 840e8e1..e839f53 100644 --- a/tests/test_spans.rs +++ b/tests/test_spans.rs @@ -265,7 +265,7 @@ fn error_eof_before_tag_name() { let html = "<"; assert_snapshot!(annotate_errors(html), @r###" < - ^ eof-before-tag-name + ^ eof-before-tag-name "###); } @@ -277,7 +277,7 @@ fn error_eof_in_comment() { let html = "