diff options
author | Aleksey Kladov <[email protected]> | 2019-07-24 10:38:21 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-07-24 10:49:19 +0100 |
commit | 459241f272748ff2e57b2c7e84f5a04f78d67edb (patch) | |
tree | 2353f8f068962313d0b2748aab58b71c4ca456d2 /crates/ra_syntax/tests/data/parser/inline/ok/0121_match_arms_outer_attributes.txt | |
parent | 4d544fbf9b664b6a29d358d3cb41cdd7cd15e4d6 (diff) |
move syntax tests to unit tests
Diffstat (limited to 'crates/ra_syntax/tests/data/parser/inline/ok/0121_match_arms_outer_attributes.txt')
-rw-r--r-- | crates/ra_syntax/tests/data/parser/inline/ok/0121_match_arms_outer_attributes.txt | 135 |
1 files changed, 0 insertions, 135 deletions
diff --git a/crates/ra_syntax/tests/data/parser/inline/ok/0121_match_arms_outer_attributes.txt b/crates/ra_syntax/tests/data/parser/inline/ok/0121_match_arms_outer_attributes.txt deleted file mode 100644 index 9c238e869..000000000 --- a/crates/ra_syntax/tests/data/parser/inline/ok/0121_match_arms_outer_attributes.txt +++ /dev/null | |||
@@ -1,135 +0,0 @@ | |||
1 | SOURCE_FILE@[0; 259) | ||
2 | FN_DEF@[0; 258) | ||
3 | FN_KW@[0; 2) "fn" | ||
4 | WHITESPACE@[2; 3) " " | ||
5 | NAME@[3; 6) | ||
6 | IDENT@[3; 6) "foo" | ||
7 | PARAM_LIST@[6; 8) | ||
8 | L_PAREN@[6; 7) "(" | ||
9 | R_PAREN@[7; 8) ")" | ||
10 | WHITESPACE@[8; 9) " " | ||
11 | BLOCK@[9; 258) | ||
12 | L_CURLY@[9; 10) "{" | ||
13 | WHITESPACE@[10; 15) "\n " | ||
14 | MATCH_EXPR@[15; 256) | ||
15 | MATCH_KW@[15; 20) "match" | ||
16 | WHITESPACE@[20; 21) " " | ||
17 | TUPLE_EXPR@[21; 23) | ||
18 | L_PAREN@[21; 22) "(" | ||
19 | R_PAREN@[22; 23) ")" | ||
20 | WHITESPACE@[23; 24) " " | ||
21 | MATCH_ARM_LIST@[24; 256) | ||
22 | L_CURLY@[24; 25) "{" | ||
23 | WHITESPACE@[25; 34) "\n " | ||
24 | MATCH_ARM@[34; 74) | ||
25 | ATTR@[34; 58) | ||
26 | POUND@[34; 35) "#" | ||
27 | TOKEN_TREE@[35; 58) | ||
28 | L_BRACK@[35; 36) "[" | ||
29 | IDENT@[36; 39) "cfg" | ||
30 | TOKEN_TREE@[39; 57) | ||
31 | L_PAREN@[39; 40) "(" | ||
32 | IDENT@[40; 47) "feature" | ||
33 | WHITESPACE@[47; 48) " " | ||
34 | EQ@[48; 49) "=" | ||
35 | WHITESPACE@[49; 50) " " | ||
36 | STRING@[50; 56) "\"some\"" | ||
37 | R_PAREN@[56; 57) ")" | ||
38 | R_BRACK@[57; 58) "]" | ||
39 | WHITESPACE@[58; 67) "\n " | ||
40 | PLACEHOLDER_PAT@[67; 68) | ||
41 | UNDERSCORE@[67; 68) "_" | ||
42 | WHITESPACE@[68; 69) " " | ||
43 | FAT_ARROW@[69; 71) "=>" | ||
44 | WHITESPACE@[71; 72) " " | ||
45 | TUPLE_EXPR@[72; 74) | ||
46 | L_PAREN@[72; 73) "(" | ||
47 | R_PAREN@[73; 74) ")" | ||
48 | COMMA@[74; 75) "," | ||
49 | WHITESPACE@[75; 84) "\n " | ||
50 | MATCH_ARM@[84; 125) | ||
51 | ATTR@[84; 109) | ||
52 | POUND@[84; 85) "#" | ||
53 | TOKEN_TREE@[85; 109) | ||
54 | L_BRACK@[85; 86) "[" | ||
55 | IDENT@[86; 89) "cfg" | ||
56 | TOKEN_TREE@[89; 108) | ||
57 | L_PAREN@[89; 90) "(" | ||
58 | IDENT@[90; 97) "feature" | ||
59 | WHITESPACE@[97; 98) " " | ||
60 | EQ@[98; 99) "=" | ||
61 | WHITESPACE@[99; 100) " " | ||
62 | STRING@[100; 107) "\"other\"" | ||
63 | R_PAREN@[107; 108) ")" | ||
64 | R_BRACK@[108; 109) "]" | ||
65 | WHITESPACE@[109; 118) "\n " | ||
66 | PLACEHOLDER_PAT@[118; 119) | ||
67 | UNDERSCORE@[118; 119) "_" | ||
68 | WHITESPACE@[119; 120) " " | ||
69 | FAT_ARROW@[120; 122) "=>" | ||
70 | WHITESPACE@[122; 123) " " | ||
71 | TUPLE_EXPR@[123; 125) | ||
72 | L_PAREN@[123; 124) "(" | ||
73 | R_PAREN@[124; 125) ")" | ||
74 | COMMA@[125; 126) "," | ||
75 | WHITESPACE@[126; 135) "\n " | ||
76 | MATCH_ARM@[135; 249) | ||
77 | ATTR@[135; 159) | ||
78 | POUND@[135; 136) "#" | ||
79 | TOKEN_TREE@[136; 159) | ||
80 | L_BRACK@[136; 137) "[" | ||
81 | IDENT@[137; 140) "cfg" | ||
82 | TOKEN_TREE@[140; 158) | ||
83 | L_PAREN@[140; 141) "(" | ||
84 | IDENT@[141; 148) "feature" | ||
85 | WHITESPACE@[148; 149) " " | ||
86 | EQ@[149; 150) "=" | ||
87 | WHITESPACE@[150; 151) " " | ||
88 | STRING@[151; 157) "\"many\"" | ||
89 | R_PAREN@[157; 158) ")" | ||
90 | R_BRACK@[158; 159) "]" | ||
91 | WHITESPACE@[159; 168) "\n " | ||
92 | ATTR@[168; 198) | ||
93 | POUND@[168; 169) "#" | ||
94 | TOKEN_TREE@[169; 198) | ||
95 | L_BRACK@[169; 170) "[" | ||
96 | IDENT@[170; 173) "cfg" | ||
97 | TOKEN_TREE@[173; 197) | ||
98 | L_PAREN@[173; 174) "(" | ||
99 | IDENT@[174; 181) "feature" | ||
100 | WHITESPACE@[181; 182) " " | ||
101 | EQ@[182; 183) "=" | ||
102 | WHITESPACE@[183; 184) " " | ||
103 | STRING@[184; 196) "\"attributes\"" | ||
104 | R_PAREN@[196; 197) ")" | ||
105 | R_BRACK@[197; 198) "]" | ||
106 | WHITESPACE@[198; 207) "\n " | ||
107 | ATTR@[207; 233) | ||
108 | POUND@[207; 208) "#" | ||
109 | TOKEN_TREE@[208; 233) | ||
110 | L_BRACK@[208; 209) "[" | ||
111 | IDENT@[209; 212) "cfg" | ||
112 | TOKEN_TREE@[212; 232) | ||
113 | L_PAREN@[212; 213) "(" | ||
114 | IDENT@[213; 220) "feature" | ||
115 | WHITESPACE@[220; 221) " " | ||
116 | EQ@[221; 222) "=" | ||
117 | WHITESPACE@[222; 223) " " | ||
118 | STRING@[223; 231) "\"before\"" | ||
119 | R_PAREN@[231; 232) ")" | ||
120 | R_BRACK@[232; 233) "]" | ||
121 | WHITESPACE@[233; 242) "\n " | ||
122 | PLACEHOLDER_PAT@[242; 243) | ||
123 | UNDERSCORE@[242; 243) "_" | ||
124 | WHITESPACE@[243; 244) " " | ||
125 | FAT_ARROW@[244; 246) "=>" | ||
126 | WHITESPACE@[246; 247) " " | ||
127 | TUPLE_EXPR@[247; 249) | ||
128 | L_PAREN@[247; 248) "(" | ||
129 | R_PAREN@[248; 249) ")" | ||
130 | COMMA@[249; 250) "," | ||
131 | WHITESPACE@[250; 255) "\n " | ||
132 | R_CURLY@[255; 256) "}" | ||
133 | WHITESPACE@[256; 257) "\n" | ||
134 | R_CURLY@[257; 258) "}" | ||
135 | WHITESPACE@[258; 259) "\n" | ||