diff options
author | Andrey Tkachenko <[email protected]> | 2019-06-06 13:26:54 +0100 |
---|---|---|
committer | Andrey Tkachenko <[email protected]> | 2019-06-06 13:26:54 +0100 |
commit | 505b8d873ffe422358bb4ff47dc82d6c76d0772e (patch) | |
tree | b5b9eb1151c6fdbfcbeeaaf4dfd2b2db015a6266 /crates/ra_syntax/tests/data/parser/ok | |
parent | 281c9eeaff8eac4e666089f80f67cf684e1d001b (diff) |
[#1083] Try block syntax: fix tests
Diffstat (limited to 'crates/ra_syntax/tests/data/parser/ok')
-rw-r--r-- | crates/ra_syntax/tests/data/parser/ok/0051_try_block.rs | 5 | ||||
-rw-r--r-- | crates/ra_syntax/tests/data/parser/ok/0051_try_block.txt | 32 |
2 files changed, 0 insertions, 37 deletions
diff --git a/crates/ra_syntax/tests/data/parser/ok/0051_try_block.rs b/crates/ra_syntax/tests/data/parser/ok/0051_try_block.rs deleted file mode 100644 index 8cc11ddcc..000000000 --- a/crates/ra_syntax/tests/data/parser/ok/0051_try_block.rs +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | fn main() { | ||
2 | let res = try { | ||
3 | |||
4 | }; | ||
5 | } | ||
diff --git a/crates/ra_syntax/tests/data/parser/ok/0051_try_block.txt b/crates/ra_syntax/tests/data/parser/ok/0051_try_block.txt deleted file mode 100644 index f94eb3bcd..000000000 --- a/crates/ra_syntax/tests/data/parser/ok/0051_try_block.txt +++ /dev/null | |||
@@ -1,32 +0,0 @@ | |||
1 | SOURCE_FILE@[0; 41) | ||
2 | FN_DEF@[0; 41) | ||
3 | FN_KW@[0; 2) "fn" | ||
4 | WHITESPACE@[2; 3) " " | ||
5 | NAME@[3; 7) | ||
6 | IDENT@[3; 7) "main" | ||
7 | PARAM_LIST@[7; 9) | ||
8 | L_PAREN@[7; 8) "(" | ||
9 | R_PAREN@[8; 9) ")" | ||
10 | WHITESPACE@[9; 10) " " | ||
11 | BLOCK@[10; 41) | ||
12 | L_CURLY@[10; 11) "{" | ||
13 | WHITESPACE@[11; 16) "\n " | ||
14 | LET_STMT@[16; 39) | ||
15 | LET_KW@[16; 19) "let" | ||
16 | WHITESPACE@[19; 20) " " | ||
17 | BIND_PAT@[20; 23) | ||
18 | NAME@[20; 23) | ||
19 | IDENT@[20; 23) "res" | ||
20 | WHITESPACE@[23; 24) " " | ||
21 | EQ@[24; 25) "=" | ||
22 | WHITESPACE@[25; 26) " " | ||
23 | TRY_EXPR@[26; 38) | ||
24 | TRY_KW@[26; 29) "try" | ||
25 | WHITESPACE@[29; 30) " " | ||
26 | BLOCK@[30; 38) | ||
27 | L_CURLY@[30; 31) "{" | ||
28 | WHITESPACE@[31; 37) "\n\n " | ||
29 | R_CURLY@[37; 38) "}" | ||
30 | SEMI@[38; 39) ";" | ||
31 | WHITESPACE@[39; 40) "\n" | ||
32 | R_CURLY@[40; 41) "}" \ No newline at end of file | ||