diff options
author | DJMcNab <[email protected]> | 2018-12-20 16:45:54 +0000 |
---|---|---|
committer | DJMcNab <[email protected]> | 2018-12-20 16:45:54 +0000 |
commit | 134fe4f566d94fd4ca91c6417fab0ae7b3e4275f (patch) | |
tree | 54d5d31d8df65982163e1ff735e1461d672d8376 /crates/ra_syntax/tests/data/parser/inline/ok/0105_block_expr.txt | |
parent | 466885aa5bad53732786380f7579880fe2fd5645 (diff) |
Fix the tests and fix the precommit hook
Diffstat (limited to 'crates/ra_syntax/tests/data/parser/inline/ok/0105_block_expr.txt')
-rw-r--r-- | crates/ra_syntax/tests/data/parser/inline/ok/0105_block_expr.txt | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/crates/ra_syntax/tests/data/parser/inline/ok/0105_block_expr.txt b/crates/ra_syntax/tests/data/parser/inline/ok/0105_block_expr.txt new file mode 100644 index 000000000..eeb184ab2 --- /dev/null +++ b/crates/ra_syntax/tests/data/parser/inline/ok/0105_block_expr.txt | |||
@@ -0,0 +1,42 @@ | |||
1 | SOURCE_FILE@[0; 52) | ||
2 | FN_DEF@[0; 51) | ||
3 | FN_KW@[0; 2) | ||
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; 51) | ||
12 | L_CURLY@[9; 10) | ||
13 | WHITESPACE@[10; 15) | ||
14 | EXPR_STMT@[15; 18) | ||
15 | BLOCK_EXPR@[15; 17) | ||
16 | BLOCK@[15; 17) | ||
17 | L_CURLY@[15; 16) | ||
18 | R_CURLY@[16; 17) | ||
19 | SEMI@[17; 18) | ||
20 | WHITESPACE@[18; 23) | ||
21 | EXPR_STMT@[23; 33) | ||
22 | BLOCK_EXPR@[23; 32) | ||
23 | UNSAFE_KW@[23; 29) | ||
24 | WHITESPACE@[29; 30) | ||
25 | BLOCK@[30; 32) | ||
26 | L_CURLY@[30; 31) | ||
27 | R_CURLY@[31; 32) | ||
28 | SEMI@[32; 33) | ||
29 | WHITESPACE@[33; 38) | ||
30 | EXPR_STMT@[38; 49) | ||
31 | BLOCK_EXPR@[38; 48) | ||
32 | LABEL@[38; 45) | ||
33 | LIFETIME@[38; 44) "'label" | ||
34 | COLON@[44; 45) | ||
35 | WHITESPACE@[45; 46) | ||
36 | BLOCK@[46; 48) | ||
37 | L_CURLY@[46; 47) | ||
38 | R_CURLY@[47; 48) | ||
39 | SEMI@[48; 49) | ||
40 | WHITESPACE@[49; 50) | ||
41 | R_CURLY@[50; 51) | ||
42 | WHITESPACE@[51; 52) | ||