| Index: test/checker/inferred_type_test.dart
|
| diff --git a/test/checker/inferred_type_test.dart b/test/checker/inferred_type_test.dart
|
| index 9dcde614418122481e680828a2b26a81993661ca..1178050f6c09019311ebded544d5831a3da63968 100644
|
| --- a/test/checker/inferred_type_test.dart
|
| +++ b/test/checker/inferred_type_test.dart
|
| @@ -30,30 +30,6 @@ void main() {
|
| '''
|
| });
|
|
|
| - testChecker('Error when declared type is `int` and assigned null.', {
|
| - '/main.dart': '''
|
| - test1() {
|
| - int x = 3;
|
| - x = /*severe:StaticTypeError*/null;
|
| - }
|
| - '''
|
| - }, nonnullableTypes: <String>[
|
| - 'int',
|
| - 'double'
|
| - ]);
|
| -
|
| - testChecker('Error when inferred type is `int` and assigned null.', {
|
| - '/main.dart': '''
|
| - test1() {
|
| - var x = 3;
|
| - x = /*severe:StaticTypeError*/null;
|
| - }
|
| - '''
|
| - }, nonnullableTypes: <String>[
|
| - 'int',
|
| - 'double'
|
| - ]);
|
| -
|
| testChecker('No error when declared type is `num` and assigned null.', {
|
| '/main.dart': '''
|
| test1() {
|
|
|