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/test_data/parser/err/0015_curly_in_params.txt | |
parent | 4d544fbf9b664b6a29d358d3cb41cdd7cd15e4d6 (diff) |
move syntax tests to unit tests
Diffstat (limited to 'crates/ra_syntax/test_data/parser/err/0015_curly_in_params.txt')
-rw-r--r-- | crates/ra_syntax/test_data/parser/err/0015_curly_in_params.txt | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/err/0015_curly_in_params.txt b/crates/ra_syntax/test_data/parser/err/0015_curly_in_params.txt new file mode 100644 index 000000000..23ca0c446 --- /dev/null +++ b/crates/ra_syntax/test_data/parser/err/0015_curly_in_params.txt | |||
@@ -0,0 +1,24 @@ | |||
1 | SOURCE_FILE@[0; 14) | ||
2 | FN_DEF@[0; 7) | ||
3 | FN_KW@[0; 2) "fn" | ||
4 | WHITESPACE@[2; 3) " " | ||
5 | NAME@[3; 6) | ||
6 | IDENT@[3; 6) "foo" | ||
7 | PARAM_LIST@[6; 7) | ||
8 | L_PAREN@[6; 7) "(" | ||
9 | ERROR@[7; 8) | ||
10 | R_CURLY@[7; 8) "}" | ||
11 | ERROR@[8; 9) | ||
12 | R_PAREN@[8; 9) ")" | ||
13 | WHITESPACE@[9; 10) " " | ||
14 | ERROR@[10; 13) | ||
15 | L_CURLY@[10; 11) "{" | ||
16 | WHITESPACE@[11; 12) "\n" | ||
17 | R_CURLY@[12; 13) "}" | ||
18 | WHITESPACE@[13; 14) "\n" | ||
19 | error 7: expected value parameter | ||
20 | error 7: expected R_PAREN | ||
21 | error 7: expected a block | ||
22 | error 7: unmatched `}` | ||
23 | error 8: expected an item | ||
24 | error 10: expected an item | ||