aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/tests/data/parser
diff options
context:
space:
mode:
authorbors[bot] <bors[bot]@users.noreply.github.com>2019-02-11 16:24:39 +0000
committerbors[bot] <bors[bot]@users.noreply.github.com>2019-02-11 16:24:39 +0000
commit77ccac74f94fbe387fc587d46f9d93f04fce3644 (patch)
treef0cc15c1fb77ca429717fcb1d5975f5cb5622c9e /crates/ra_syntax/tests/data/parser
parenta180674986df6ff4c1934dc92f29b49e607477db (diff)
parent2efdf41bdb178ebf1ff0f8e3b335f491c84d7fa3 (diff)
Merge #790
790: make macro-rules eq r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_syntax/tests/data/parser')
-rw-r--r--crates/ra_syntax/tests/data/parser/err/0028_macro_2.0.txt3
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/ok/0062_mod_contents.txt3
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/ok/0096_no_semi_after_block.txt3
3 files changed, 6 insertions, 3 deletions
diff --git a/crates/ra_syntax/tests/data/parser/err/0028_macro_2.0.txt b/crates/ra_syntax/tests/data/parser/err/0028_macro_2.0.txt
index 12919fab7..440bd7f92 100644
--- a/crates/ra_syntax/tests/data/parser/err/0028_macro_2.0.txt
+++ b/crates/ra_syntax/tests/data/parser/err/0028_macro_2.0.txt
@@ -6,7 +6,8 @@ SOURCE_FILE@[0; 349)
6 IDENT@[0; 5) "macro" 6 IDENT@[0; 5) "macro"
7 err: `expected EXCL` 7 err: `expected EXCL`
8 WHITESPACE@[5; 6) 8 WHITESPACE@[5; 6)
9 IDENT@[6; 21) "parse_use_trees" 9 NAME@[6; 21)
10 IDENT@[6; 21) "parse_use_trees"
10 TOKEN_TREE@[21; 41) 11 TOKEN_TREE@[21; 41)
11 L_PAREN@[21; 22) 12 L_PAREN@[21; 22)
12 DOLLAR@[22; 23) 13 DOLLAR@[22; 23)
diff --git a/crates/ra_syntax/tests/data/parser/inline/ok/0062_mod_contents.txt b/crates/ra_syntax/tests/data/parser/inline/ok/0062_mod_contents.txt
index 62528ca47..6ccd0ffc3 100644
--- a/crates/ra_syntax/tests/data/parser/inline/ok/0062_mod_contents.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/ok/0062_mod_contents.txt
@@ -19,7 +19,8 @@ SOURCE_FILE@[0; 70)
19 IDENT@[12; 23) "macro_rules" 19 IDENT@[12; 23) "macro_rules"
20 EXCL@[23; 24) 20 EXCL@[23; 24)
21 WHITESPACE@[24; 25) 21 WHITESPACE@[24; 25)
22 IDENT@[25; 28) "foo" 22 NAME@[25; 28)
23 IDENT@[25; 28) "foo"
23 WHITESPACE@[28; 29) 24 WHITESPACE@[28; 29)
24 TOKEN_TREE@[29; 31) 25 TOKEN_TREE@[29; 31)
25 L_CURLY@[29; 30) 26 L_CURLY@[29; 30)
diff --git a/crates/ra_syntax/tests/data/parser/inline/ok/0096_no_semi_after_block.txt b/crates/ra_syntax/tests/data/parser/inline/ok/0096_no_semi_after_block.txt
index 63b230091..ac789651a 100644
--- a/crates/ra_syntax/tests/data/parser/inline/ok/0096_no_semi_after_block.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/ok/0096_no_semi_after_block.txt
@@ -92,7 +92,8 @@ SOURCE_FILE@[0; 167)
92 IDENT@[109; 120) "macro_rules" 92 IDENT@[109; 120) "macro_rules"
93 EXCL@[120; 121) 93 EXCL@[120; 121)
94 WHITESPACE@[121; 122) 94 WHITESPACE@[121; 122)
95 IDENT@[122; 126) "test" 95 NAME@[122; 126)
96 IDENT@[122; 126) "test"
96 WHITESPACE@[126; 127) 97 WHITESPACE@[126; 127)
97 TOKEN_TREE@[127; 152) 98 TOKEN_TREE@[127; 152)
98 L_CURLY@[127; 128) 99 L_CURLY@[127; 128)