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/0118_match_guard.txt | |
parent | 4d544fbf9b664b6a29d358d3cb41cdd7cd15e4d6 (diff) |
move syntax tests to unit tests
Diffstat (limited to 'crates/ra_syntax/tests/data/parser/inline/ok/0118_match_guard.txt')
-rw-r--r-- | crates/ra_syntax/tests/data/parser/inline/ok/0118_match_guard.txt | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/crates/ra_syntax/tests/data/parser/inline/ok/0118_match_guard.txt b/crates/ra_syntax/tests/data/parser/inline/ok/0118_match_guard.txt deleted file mode 100644 index d53e10e86..000000000 --- a/crates/ra_syntax/tests/data/parser/inline/ok/0118_match_guard.txt +++ /dev/null | |||
@@ -1,47 +0,0 @@ | |||
1 | SOURCE_FILE@[0; 58) | ||
2 | FN_DEF@[0; 57) | ||
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; 57) | ||
12 | L_CURLY@[9; 10) "{" | ||
13 | WHITESPACE@[10; 15) "\n " | ||
14 | MATCH_EXPR@[15; 55) | ||
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; 55) | ||
22 | L_CURLY@[24; 25) "{" | ||
23 | WHITESPACE@[25; 34) "\n " | ||
24 | MATCH_ARM@[34; 48) | ||
25 | PLACEHOLDER_PAT@[34; 35) | ||
26 | UNDERSCORE@[34; 35) "_" | ||
27 | WHITESPACE@[35; 36) " " | ||
28 | MATCH_GUARD@[36; 42) | ||
29 | IF_KW@[36; 38) "if" | ||
30 | WHITESPACE@[38; 39) " " | ||
31 | PATH_EXPR@[39; 42) | ||
32 | PATH@[39; 42) | ||
33 | PATH_SEGMENT@[39; 42) | ||
34 | NAME_REF@[39; 42) | ||
35 | IDENT@[39; 42) "foo" | ||
36 | WHITESPACE@[42; 43) " " | ||
37 | FAT_ARROW@[43; 45) "=>" | ||
38 | WHITESPACE@[45; 46) " " | ||
39 | TUPLE_EXPR@[46; 48) | ||
40 | L_PAREN@[46; 47) "(" | ||
41 | R_PAREN@[47; 48) ")" | ||
42 | COMMA@[48; 49) "," | ||
43 | WHITESPACE@[49; 54) "\n " | ||
44 | R_CURLY@[54; 55) "}" | ||
45 | WHITESPACE@[55; 56) "\n" | ||
46 | R_CURLY@[56; 57) "}" | ||
47 | WHITESPACE@[57; 58) "\n" | ||