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 --- crates/ra_syntax/tests/data/parser/inline/ok/0066_match_arm.rs | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 crates/ra_syntax/tests/data/parser/inline/ok/0066_match_arm.rs (limited to 'crates/ra_syntax/tests/data/parser/inline/ok/0066_match_arm.rs') diff --git a/crates/ra_syntax/tests/data/parser/inline/ok/0066_match_arm.rs b/crates/ra_syntax/tests/data/parser/inline/ok/0066_match_arm.rs new file mode 100644 index 000000000..9e009e24f --- /dev/null +++ b/crates/ra_syntax/tests/data/parser/inline/ok/0066_match_arm.rs @@ -0,0 +1,9 @@ +fn foo() { + match () { + _ => (), + _ if Test > Test{field: 0} => (), + X | Y if Z => (), + | X | Y if Z => (), + | X => (), + }; +} -- cgit v1.2.3