diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2019-07-24 10:51:25 +0100 |
---|---|---|
committer | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2019-07-24 10:51:25 +0100 |
commit | 0194adb651257b69fdf04423b22c69db09fc489c (patch) | |
tree | 2353f8f068962313d0b2748aab58b71c4ca456d2 /crates/ra_syntax/test_data/parser/ok/0017_attr_trailing_comma.txt | |
parent | bf3030404ef8a161334326bad706f60ee8838f63 (diff) | |
parent | 459241f272748ff2e57b2c7e84f5a04f78d67edb (diff) |
Merge #1585
1585: move syntax tests to unit tests r=matklad a=matklad
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_syntax/test_data/parser/ok/0017_attr_trailing_comma.txt')
-rw-r--r-- | crates/ra_syntax/test_data/parser/ok/0017_attr_trailing_comma.txt | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/ok/0017_attr_trailing_comma.txt b/crates/ra_syntax/test_data/parser/ok/0017_attr_trailing_comma.txt new file mode 100644 index 000000000..cd8f038de --- /dev/null +++ b/crates/ra_syntax/test_data/parser/ok/0017_attr_trailing_comma.txt | |||
@@ -0,0 +1,26 @@ | |||
1 | SOURCE_FILE@[0; 23) | ||
2 | FN_DEF@[0; 22) | ||
3 | ATTR@[0; 10) | ||
4 | POUND@[0; 1) "#" | ||
5 | TOKEN_TREE@[1; 10) | ||
6 | L_BRACK@[1; 2) "[" | ||
7 | IDENT@[2; 5) "foo" | ||
8 | TOKEN_TREE@[5; 9) | ||
9 | L_PAREN@[5; 6) "(" | ||
10 | IDENT@[6; 7) "a" | ||
11 | COMMA@[7; 8) "," | ||
12 | R_PAREN@[8; 9) ")" | ||
13 | R_BRACK@[9; 10) "]" | ||
14 | WHITESPACE@[10; 11) "\n" | ||
15 | FN_KW@[11; 13) "fn" | ||
16 | WHITESPACE@[13; 14) " " | ||
17 | NAME@[14; 17) | ||
18 | IDENT@[14; 17) "foo" | ||
19 | PARAM_LIST@[17; 19) | ||
20 | L_PAREN@[17; 18) "(" | ||
21 | R_PAREN@[18; 19) ")" | ||
22 | WHITESPACE@[19; 20) " " | ||
23 | BLOCK@[20; 22) | ||
24 | L_CURLY@[20; 21) "{" | ||
25 | R_CURLY@[21; 22) "}" | ||
26 | WHITESPACE@[22; 23) "\n" | ||