From fc5e7b8807f6d438028389b030dfae00965a8cd5 Mon Sep 17 00:00:00 2001 From: Veetaha Date: Mon, 17 Feb 2020 23:14:31 +0200 Subject: ra_syntax: migrate test data to 0-length text-range of SyntaxError when constructed from TextUnit --- .../ra_syntax/test_data/parser/err/0034_bad_box_pattern.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'crates/ra_syntax/test_data/parser/err/0034_bad_box_pattern.txt') diff --git a/crates/ra_syntax/test_data/parser/err/0034_bad_box_pattern.txt b/crates/ra_syntax/test_data/parser/err/0034_bad_box_pattern.txt index 301339244..2c91b6841 100644 --- a/crates/ra_syntax/test_data/parser/err/0034_bad_box_pattern.txt +++ b/crates/ra_syntax/test_data/parser/err/0034_bad_box_pattern.txt @@ -88,9 +88,9 @@ SOURCE_FILE@[0; 91) WHITESPACE@[87; 88) "\n" R_CURLY@[88; 89) "}" WHITESPACE@[89; 91) "\n\n" -error [24; 25): expected a name -error [27; 28): expected SEMI -error [48; 49): expected a name -error [51; 52): expected SEMI -error [76; 77): expected a name -error [79; 80): expected SEMI +error [24; 24): expected a name +error [27; 27): expected SEMI +error [48; 48): expected a name +error [51; 51): expected SEMI +error [76; 76): expected a name +error [79; 79): expected SEMI -- cgit v1.2.3