From 459241f272748ff2e57b2c7e84f5a04f78d67edb Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Wed, 24 Jul 2019 12:38:21 +0300 Subject: move syntax tests to unit tests --- .../test_data/parser/inline/ok/0084_paren_type.txt | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 crates/ra_syntax/test_data/parser/inline/ok/0084_paren_type.txt (limited to 'crates/ra_syntax/test_data/parser/inline/ok/0084_paren_type.txt') 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 @@ +SOURCE_FILE@[0; 16) + TYPE_ALIAS_DEF@[0; 15) + TYPE_KW@[0; 4) "type" + WHITESPACE@[4; 5) " " + NAME@[5; 6) + IDENT@[5; 6) "T" + WHITESPACE@[6; 7) " " + EQ@[7; 8) "=" + WHITESPACE@[8; 9) " " + PAREN_TYPE@[9; 14) + L_PAREN@[9; 10) "(" + PATH_TYPE@[10; 13) + PATH@[10; 13) + PATH_SEGMENT@[10; 13) + NAME_REF@[10; 13) + IDENT@[10; 13) "i32" + R_PAREN@[13; 14) ")" + SEMI@[14; 15) ";" + WHITESPACE@[15; 16) "\n" -- cgit v1.2.3