Chromium Code Reviews| 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 88e1ce7926dc655976eda32fd621a5e2fe931226..59cd00826cf7d8cb8ec99b04129a421c15531918 100644 |
| --- a/tests/compiler/dart2js/type_checker_test.dart |
| +++ b/tests/compiler/dart2js/type_checker_test.dart |
| @@ -151,11 +151,6 @@ testSwitch() { |
| warnings: [NOT_ASSIGNABLE, NOT_ASSIGNABLE]); |
| analyze("switch (1.5) { case 1: break; case 2: break; }", |
| warnings: [NOT_ASSIGNABLE, NOT_ASSIGNABLE]); |
| - |
| - analyze("switch (null) { case '': break; case 2: break; }", |
|
karlklose
2014/03/03 10:38:05
You could move this test to the resolver test inst
floitsch
2014/03/03 18:47:16
Done.
|
| - infos: [MessageKind.SWITCH_CASE_TYPES_NOT_EQUAL_CASE, |
| - MessageKind.SWITCH_CASE_TYPES_NOT_EQUAL_CASE], |
| - errors: [MessageKind.SWITCH_CASE_TYPES_NOT_EQUAL]); |
| } |
| testOperators() { |