Remove redundant test from variable_pattern_switch_test.dart.

This test was out of place (since it doesn't contain any variable
patterns). Also, it was an exact copy of a test in
record_literal_switch_test.dart. There's no point in having the same
test in both locations, so remove it from the location where it
doesn't belong.

Change-Id: I1d3a786caba2b2591255b68c035eff40b2f08237
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/384565
Commit-Queue: Paul Berry <paulberry@google.com>
Reviewed-by: Erik Ernst <eernst@google.com>
diff --git a/tests/language/patterns/exhaustiveness/variable_pattern_switch_test.dart b/tests/language/patterns/exhaustiveness/variable_pattern_switch_test.dart
index bdef063..2231fd3 100644
--- a/tests/language/patterns/exhaustiveness/variable_pattern_switch_test.dart
+++ b/tests/language/patterns/exhaustiveness/variable_pattern_switch_test.dart
@@ -175,25 +175,3 @@
       break;
   }
 }
-
-void unreachableDefault((E, bool) r) {
-  switch (r) /* Ok */ {
-    case (E.a, false):
-      print('(a, false)');
-      break;
-    case (E.b, false):
-      print('(b, false)');
-      break;
-    case (E.a, true):
-      print('(a, true)');
-      break;
-    case (E.b, true):
-      print('(b, true)');
-      break;
-    default: // Unreachable
-//  ^^^^^^^
-// [analyzer] STATIC_WARNING.UNREACHABLE_SWITCH_DEFAULT
-      print('default');
-      break;
-  }
-}