aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/test_data/parser/inline/ok/0084_paren_type.txt
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2019-07-24 10:38:21 +0100
committerAleksey Kladov <[email protected]>2019-07-24 10:49:19 +0100
commit459241f272748ff2e57b2c7e84f5a04f78d67edb (patch)
tree2353f8f068962313d0b2748aab58b71c4ca456d2 /crates/ra_syntax/test_data/parser/inline/ok/0084_paren_type.txt
parent4d544fbf9b664b6a29d358d3cb41cdd7cd15e4d6 (diff)
move syntax tests to unit tests
Diffstat (limited to 'crates/ra_syntax/test_data/parser/inline/ok/0084_paren_type.txt')
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0084_paren_type.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0084_paren_type.txt b/crates/ra_syntax/test_data/parser/inline/ok/0084_paren_type.txt
new file mode 100644
index 000000000..c0cf48af5
--- /dev/null
+++ b/crates/ra_syntax/test_data/parser/inline/ok/0084_paren_type.txt
@@ -0,0 +1,19 @@
1SOURCE_FILE@[0; 16)
2 TYPE_ALIAS_DEF@[0; 15)
3 TYPE_KW@[0; 4) "type"
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 PAREN_TYPE@[9; 14)
11 L_PAREN@[9; 10) "("
12 PATH_TYPE@[10; 13)
13 PATH@[10; 13)
14 PATH_SEGMENT@[10; 13)
15 NAME_REF@[10; 13)
16 IDENT@[10; 13) "i32"
17 R_PAREN@[13; 14) ")"
18 SEMI@[14; 15) ";"
19 WHITESPACE@[15; 16) "\n"