| Index: pkg/analyzer/test/generated/hint_code_test.dart
|
| diff --git a/pkg/analyzer/test/generated/hint_code_test.dart b/pkg/analyzer/test/generated/hint_code_test.dart
|
| index 10e4f5977dcd8d75fcc3329943b330e83b702076..52b0febf25bf92c570fbce05e5e66a5dc5004015 100644
|
| --- a/pkg/analyzer/test/generated/hint_code_test.dart
|
| +++ b/pkg/analyzer/test/generated/hint_code_test.dart
|
| @@ -23,8 +23,8 @@ main() {
|
| @reflectiveTest
|
| class HintCodeTest extends ResolverTestCase {
|
| @override
|
| - void reset({List<List<String>> packages}) {
|
| - super.reset(packages: [
|
| + void reset() {
|
| + super.resetWith(packages: [
|
| [
|
| 'meta',
|
| r'''
|
| @@ -1760,7 +1760,7 @@ main() {
|
| test_isDouble() async {
|
| AnalysisOptionsImpl options = new AnalysisOptionsImpl();
|
| options.dart2jsHint = true;
|
| - resetWithOptions(options);
|
| + resetWith(options: options);
|
| Source source = addSource("var v = 1 is double;");
|
| await computeAnalysisResult(source);
|
| assertErrors(source, [HintCode.IS_DOUBLE]);
|
| @@ -1778,7 +1778,7 @@ main() {
|
| test_isNotDouble() async {
|
| AnalysisOptionsImpl options = new AnalysisOptionsImpl();
|
| options.dart2jsHint = true;
|
| - resetWithOptions(options);
|
| + resetWith(options: options);
|
| Source source = addSource("var v = 1 is! double;");
|
| await computeAnalysisResult(source);
|
| assertErrors(source, [HintCode.IS_NOT_DOUBLE]);
|
|
|