From 14cff98cb00bd63a6035d68f5e439dd67cb5f7e5 Mon Sep 17 00:00:00 2001 From: Ville Penttinen Date: Sat, 23 Feb 2019 15:13:17 +0200 Subject: Simplify test_fill_match_arm_refs test cases --- crates/ra_assists/src/fill_match_arms.rs | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'crates') diff --git a/crates/ra_assists/src/fill_match_arms.rs b/crates/ra_assists/src/fill_match_arms.rs index 005088540..6bf6e7332 100644 --- a/crates/ra_assists/src/fill_match_arms.rs +++ b/crates/ra_assists/src/fill_match_arms.rs @@ -131,10 +131,6 @@ mod tests { r#" enum A { As, - Bs, - Cs(String), - Ds(String, String), - Es{x: usize, y: usize} } fn foo(a: &A) { @@ -145,19 +141,11 @@ mod tests { r#" enum A { As, - Bs, - Cs(String), - Ds(String, String), - Es{x: usize, y: usize} } fn foo(a: &A) { match <|>a { A::As => (), - A::Bs => (), - A::Cs(_) => (), - A::Ds(_, _) => (), - A::Es{x, y} => (), } } "#, @@ -167,10 +155,6 @@ mod tests { fill_match_arms, r#" enum A { - As, - Bs, - Cs(String), - Ds(String, String), Es{x: usize, y: usize} } @@ -181,19 +165,11 @@ mod tests { "#, r#" enum A { - As, - Bs, - Cs(String), - Ds(String, String), Es{x: usize, y: usize} } fn foo(a: &mut A) { match <|>a { - A::As => (), - A::Bs => (), - A::Cs(_) => (), - A::Ds(_, _) => (), A::Es{x, y} => (), } } -- cgit v1.2.3