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/0023_placeholder_type.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 crates/ra_syntax/test_data/parser/inline/ok/0023_placeholder_type.txt (limited to 'crates/ra_syntax/test_data/parser/inline/ok/0023_placeholder_type.txt') diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0023_placeholder_type.txt b/crates/ra_syntax/test_data/parser/inline/ok/0023_placeholder_type.txt new file mode 100644 index 000000000..0f32aec9e --- /dev/null +++ b/crates/ra_syntax/test_data/parser/inline/ok/0023_placeholder_type.txt @@ -0,0 +1,13 @@ +SOURCE_FILE@[0; 22) + TYPE_ALIAS_DEF@[0; 21) + TYPE_KW@[0; 4) "type" + WHITESPACE@[4; 5) " " + NAME@[5; 16) + IDENT@[5; 16) "Placeholder" + WHITESPACE@[16; 17) " " + EQ@[17; 18) "=" + WHITESPACE@[18; 19) " " + PLACEHOLDER_TYPE@[19; 20) + UNDERSCORE@[19; 20) "_" + SEMI@[20; 21) ";" + WHITESPACE@[21; 22) "\n" -- cgit v1.2.3