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/err/0001_array_type_missing_semi.txt | |
parent | 466885aa5bad53732786380f7579880fe2fd5645 (diff) |
Fix the tests and fix the precommit hook
Diffstat (limited to 'crates/ra_syntax/tests/data/parser/inline/err/0001_array_type_missing_semi.txt')
-rw-r--r-- | crates/ra_syntax/tests/data/parser/inline/err/0001_array_type_missing_semi.txt | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/crates/ra_syntax/tests/data/parser/inline/err/0001_array_type_missing_semi.txt b/crates/ra_syntax/tests/data/parser/inline/err/0001_array_type_missing_semi.txt new file mode 100644 index 000000000..036363587 --- /dev/null +++ b/crates/ra_syntax/tests/data/parser/inline/err/0001_array_type_missing_semi.txt | |||
@@ -0,0 +1,27 @@ | |||
1 | SOURCE_FILE@[0; 18) | ||
2 | TYPE_DEF@[0; 12) | ||
3 | TYPE_KW@[0; 4) | ||
4 | WHITESPACE@[4; 5) | ||
5 | NAME@[5; 6) | ||
6 | IDENT@[5; 6) "T" | ||
7 | WHITESPACE@[6; 7) | ||
8 | EQ@[7; 8) | ||
9 | WHITESPACE@[8; 9) | ||
10 | SLICE_TYPE@[9; 12) | ||
11 | L_BRACK@[9; 10) | ||
12 | TUPLE_TYPE@[10; 12) | ||
13 | L_PAREN@[10; 11) | ||
14 | R_PAREN@[11; 12) | ||
15 | err: `expected `;` or `]`` | ||
16 | err: `expected SEMI` | ||
17 | WHITESPACE@[12; 13) | ||
18 | err: `expected an item` | ||
19 | ERROR@[13; 15) | ||
20 | INT_NUMBER@[13; 15) "92" | ||
21 | err: `expected an item` | ||
22 | ERROR@[15; 16) | ||
23 | R_BRACK@[15; 16) | ||
24 | err: `expected an item` | ||
25 | ERROR@[16; 17) | ||
26 | SEMI@[16; 17) | ||
27 | WHITESPACE@[17; 18) | ||