aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/test_data/parser/inline/ok/0078_type_item.txt
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2019-07-24 10:51:25 +0100
committerbors[bot] <26634292+bors[bot]@users.noreply.github.com>2019-07-24 10:51:25 +0100
commit0194adb651257b69fdf04423b22c69db09fc489c (patch)
tree2353f8f068962313d0b2748aab58b71c4ca456d2 /crates/ra_syntax/test_data/parser/inline/ok/0078_type_item.txt
parentbf3030404ef8a161334326bad706f60ee8838f63 (diff)
parent459241f272748ff2e57b2c7e84f5a04f78d67edb (diff)
Merge #1585
1585: move syntax tests to unit tests r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_syntax/test_data/parser/inline/ok/0078_type_item.txt')
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0078_type_item.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0078_type_item.txt b/crates/ra_syntax/test_data/parser/inline/ok/0078_type_item.txt
new file mode 100644
index 000000000..4bc0b1858
--- /dev/null
+++ b/crates/ra_syntax/test_data/parser/inline/ok/0078_type_item.txt
@@ -0,0 +1,16 @@
1SOURCE_FILE@[0; 16)
2 TYPE_ALIAS_DEF@[0; 15)
3 TYPE_KW@[0; 4) "type"
4 WHITESPACE@[4; 5) " "
5 NAME@[5; 8)
6 IDENT@[5; 8) "Foo"
7 WHITESPACE@[8; 9) " "
8 EQ@[9; 10) "="
9 WHITESPACE@[10; 11) " "
10 PATH_TYPE@[11; 14)
11 PATH@[11; 14)
12 PATH_SEGMENT@[11; 14)
13 NAME_REF@[11; 14)
14 IDENT@[11; 14) "Bar"
15 SEMI@[14; 15) ";"
16 WHITESPACE@[15; 16) "\n"