From 8843588fca7a6022b86800d5d2539594c0de93cf Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Fri, 24 Apr 2020 23:51:02 +0200 Subject: Convert tests to text-size --- .../parser/err/0001_item_recovery_in_file.rast | 36 +++++++++++----------- 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'crates/ra_syntax/test_data/parser/err/0001_item_recovery_in_file.rast') diff --git a/crates/ra_syntax/test_data/parser/err/0001_item_recovery_in_file.rast b/crates/ra_syntax/test_data/parser/err/0001_item_recovery_in_file.rast index 2d653715e..97d0fe910 100644 --- a/crates/ra_syntax/test_data/parser/err/0001_item_recovery_in_file.rast +++ b/crates/ra_syntax/test_data/parser/err/0001_item_recovery_in_file.rast @@ -1,18 +1,18 @@ -SOURCE_FILE@[0; 21) - ERROR@[0; 2) - IF_KW@[0; 2) "if" - WHITESPACE@[2; 3) " " - ERROR@[3; 8) - MATCH_KW@[3; 8) "match" - WHITESPACE@[8; 10) "\n\n" - STRUCT_DEF@[10; 21) - STRUCT_KW@[10; 16) "struct" - WHITESPACE@[16; 17) " " - NAME@[17; 18) - IDENT@[17; 18) "S" - WHITESPACE@[18; 19) " " - RECORD_FIELD_DEF_LIST@[19; 21) - L_CURLY@[19; 20) "{" - R_CURLY@[20; 21) "}" -error [0; 0): expected an item -error [3; 3): expected an item +SOURCE_FILE@0..21 + ERROR@0..2 + IF_KW@0..2 "if" + WHITESPACE@2..3 " " + ERROR@3..8 + MATCH_KW@3..8 "match" + WHITESPACE@8..10 "\n\n" + STRUCT_DEF@10..21 + STRUCT_KW@10..16 "struct" + WHITESPACE@16..17 " " + NAME@17..18 + IDENT@17..18 "S" + WHITESPACE@18..19 " " + RECORD_FIELD_DEF_LIST@19..21 + L_CURLY@19..20 "{" + R_CURLY@20..21 "}" +error 0..0: expected an item +error 3..3: expected an item -- cgit v1.2.3