| Index: tests/compiler/dart2js/type_checker_test.dart
|
| diff --git a/tests/compiler/dart2js/type_checker_test.dart b/tests/compiler/dart2js/type_checker_test.dart
|
| index ca31c6a077c294ac05fd5baa8cdbb1e16b642262..827704475c296a26b0a8bfbbdf2ee480936e4303 100644
|
| --- a/tests/compiler/dart2js/type_checker_test.dart
|
| +++ b/tests/compiler/dart2js/type_checker_test.dart
|
| @@ -149,15 +149,8 @@ testSwitch() {
|
| NOT_ASSIGNABLE);
|
| analyze("switch ('') { case 1: break; case 2: break; }",
|
| [NOT_ASSIGNABLE, NOT_ASSIGNABLE]);
|
| -
|
| - analyze("switch (0.5) { case 0.5: break; case 1.5: break; }",
|
| - [], []);
|
| - analyze("switch (1.0) { case 1.0: break; case 1.5: break; }",
|
| - [], []);
|
| - analyze("switch (null) { case 1.0: break; case 2: break; }",
|
| - [MessageKind.SWITCH_CASE_TYPES_NOT_EQUAL_CASE,
|
| - MessageKind.SWITCH_CASE_TYPES_NOT_EQUAL_CASE],
|
| - [MessageKind.SWITCH_CASE_TYPES_NOT_EQUAL]);
|
| + analyze("switch (1.5) { case 1: break; case 2: break; }",
|
| + [NOT_ASSIGNABLE, NOT_ASSIGNABLE]);
|
| }
|
|
|
| testOperators() {
|
|
|