diff options
author | DJMcNab <[email protected]> | 2018-12-20 16:45:54 +0000 |
---|---|---|
committer | DJMcNab <[email protected]> | 2018-12-20 16:45:54 +0000 |
commit | 134fe4f566d94fd4ca91c6417fab0ae7b3e4275f (patch) | |
tree | 54d5d31d8df65982163e1ff735e1461d672d8376 /crates/ra_syntax/tests/data/parser/inline/ok/0066_match_arm.rs | |
parent | 466885aa5bad53732786380f7579880fe2fd5645 (diff) |
Fix the tests and fix the precommit hook
Diffstat (limited to 'crates/ra_syntax/tests/data/parser/inline/ok/0066_match_arm.rs')
-rw-r--r-- | crates/ra_syntax/tests/data/parser/inline/ok/0066_match_arm.rs | 9 |
1 files changed, 9 insertions, 0 deletions
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 @@ | |||
1 | fn foo() { | ||
2 | match () { | ||
3 | _ => (), | ||
4 | _ if Test > Test{field: 0} => (), | ||
5 | X | Y if Z => (), | ||
6 | | X | Y if Z => (), | ||
7 | | X => (), | ||
8 | }; | ||
9 | } | ||