aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/test_data/parser/ok/0017_attr_trailing_comma.txt
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2019-07-24 10:38:21 +0100
committerAleksey Kladov <[email protected]>2019-07-24 10:49:19 +0100
commit459241f272748ff2e57b2c7e84f5a04f78d67edb (patch)
tree2353f8f068962313d0b2748aab58b71c4ca456d2 /crates/ra_syntax/test_data/parser/ok/0017_attr_trailing_comma.txt
parent4d544fbf9b664b6a29d358d3cb41cdd7cd15e4d6 (diff)
move syntax tests to unit tests
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.txt26
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 @@
1SOURCE_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"