cleanup now-irrelevant ignores for deprecated_member_use (#143403)
Follow-up to https://github.com/flutter/flutter/pull/143347.
This commit is contained in:
committed by
GitHub
parent
f190d6259f
commit
3f09b23338
@@ -8,7 +8,7 @@ import 'package:flutter_tools/src/base/io.dart';
|
||||
import 'package:flutter_tools/src/build_info.dart';
|
||||
import 'package:flutter_tools/src/device.dart';
|
||||
import 'package:flutter_tools/src/test/flutter_platform.dart';
|
||||
import 'package:test_core/backend.dart'; // ignore: deprecated_member_use
|
||||
import 'package:test_core/backend.dart';
|
||||
|
||||
import '../src/common.dart';
|
||||
import '../src/context.dart';
|
||||
|
||||
@@ -86,7 +86,7 @@ void main() {
|
||||
));
|
||||
return null;
|
||||
},
|
||||
onError: (Object error, StackTrace stack) { // ignore: deprecated_member_use
|
||||
onError: (Object error, StackTrace stack) {
|
||||
expect(firstExitCode, isNotNull);
|
||||
expect(firstExitCode, isNot(0));
|
||||
expect(error.toString(), 'Exception: test exit');
|
||||
@@ -141,7 +141,7 @@ void main() {
|
||||
));
|
||||
return null;
|
||||
},
|
||||
onError: (Object error, StackTrace stack) { // ignore: deprecated_member_use
|
||||
onError: (Object error, StackTrace stack) {
|
||||
expect(firstExitCode, isNotNull);
|
||||
expect(firstExitCode, isNot(0));
|
||||
expect(error.toString(), 'Exception: test exit');
|
||||
@@ -189,7 +189,7 @@ void main() {
|
||||
));
|
||||
return null;
|
||||
},
|
||||
onError: (Object error, StackTrace stack) { // ignore: deprecated_member_use
|
||||
onError: (Object error, StackTrace stack) {
|
||||
expect(firstExitCode, isNotNull);
|
||||
expect(firstExitCode, isNot(0));
|
||||
expect(error.toString(), 'Exception: test exit');
|
||||
@@ -284,7 +284,7 @@ void main() {
|
||||
));
|
||||
return null;
|
||||
},
|
||||
onError: (Object error, StackTrace stack) { // ignore: deprecated_member_use
|
||||
onError: (Object error, StackTrace stack) {
|
||||
expect(firstExitCode, isNotNull);
|
||||
expect(firstExitCode, isNot(0));
|
||||
expect(error.toString(), 'Exception: test exit');
|
||||
|
||||
Reference in New Issue
Block a user