From c8a8bcb95b725d91a7c4b7bc7623171f2a04fc67 Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Fri, 1 Sep 2023 16:20:56 +0200 Subject: test: test comment data spans more thoroughly --- tests/test_spans.rs | 47 +++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 45 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/test_spans.rs b/tests/test_spans.rs index 09f10f4..e856a19 100644 --- a/tests/test_spans.rs +++ b/tests/test_spans.rs @@ -202,13 +202,24 @@ fn comment_data_span() { #[rustfmt::skip] let cases = [ "", + "", + "", + "", + "", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + + ^ + + ^ + + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +