From 134fe4f566d94fd4ca91c6417fab0ae7b3e4275f Mon Sep 17 00:00:00 2001 From: DJMcNab <36049421+DJMcNab@users.noreply.github.com> Date: Thu, 20 Dec 2018 16:45:54 +0000 Subject: Fix the tests and fix the precommit hook --- .../data/parser/inline/ok/0040_crate_keyword_vis.txt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 crates/ra_syntax/tests/data/parser/inline/ok/0040_crate_keyword_vis.txt (limited to 'crates/ra_syntax/tests/data/parser/inline/ok/0040_crate_keyword_vis.txt') diff --git a/crates/ra_syntax/tests/data/parser/inline/ok/0040_crate_keyword_vis.txt b/crates/ra_syntax/tests/data/parser/inline/ok/0040_crate_keyword_vis.txt new file mode 100644 index 000000000..ff5add838 --- /dev/null +++ b/crates/ra_syntax/tests/data/parser/inline/ok/0040_crate_keyword_vis.txt @@ -0,0 +1,18 @@ +SOURCE_FILE@[0; 20) + FN_DEF@[0; 19) + VISIBILITY@[0; 5) + CRATE_KW@[0; 5) + WHITESPACE@[5; 6) + FN_KW@[6; 8) + WHITESPACE@[8; 9) + NAME@[9; 13) + IDENT@[9; 13) "main" + PARAM_LIST@[13; 15) + L_PAREN@[13; 14) + R_PAREN@[14; 15) + WHITESPACE@[15; 16) + BLOCK@[16; 19) + L_CURLY@[16; 17) + WHITESPACE@[17; 18) + R_CURLY@[18; 19) + WHITESPACE@[19; 20) -- cgit v1.2.3