Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(899)

Unified Diff: pkg/analyzer/test/generated/non_error_resolver_test.dart

Issue 2627083003: Replace reset() arguments with resetWith() invocation. (Closed)
Patch Set: Remove commented code. Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/analyzer/test/generated/non_error_resolver_test.dart
diff --git a/pkg/analyzer/test/generated/non_error_resolver_test.dart b/pkg/analyzer/test/generated/non_error_resolver_test.dart
index 9c8ebe368d7003f2a59f9e77442c5817de65d68c..1fae0c28064d6b14c983fe6895ed64e81e8acb97 100644
--- a/pkg/analyzer/test/generated/non_error_resolver_test.dart
+++ b/pkg/analyzer/test/generated/non_error_resolver_test.dart
@@ -3631,7 +3631,7 @@ class B extends Object with A {}''');
test_mixinInheritsFromNotObject_classDeclaration_extends() async {
AnalysisOptionsImpl options = new AnalysisOptionsImpl();
options.enableSuperMixins = true;
- resetWithOptions(options);
+ resetWith(options: options);
Source source = addSource(r'''
class A {}
class B extends A {}
@@ -3654,7 +3654,7 @@ class C extends Object with B {}''');
test_mixinInheritsFromNotObject_classDeclaration_with() async {
AnalysisOptionsImpl options = new AnalysisOptionsImpl();
options.enableSuperMixins = true;
- resetWithOptions(options);
+ resetWith(options: options);
Source source = addSource(r'''
class A {}
class B extends Object with A {}
@@ -3667,7 +3667,7 @@ class C extends Object with B {}''');
test_mixinInheritsFromNotObject_typeAlias_extends() async {
AnalysisOptionsImpl options = new AnalysisOptionsImpl();
options.enableSuperMixins = true;
- resetWithOptions(options);
+ resetWith(options: options);
Source source = addSource(r'''
class A {}
class B extends A {}
@@ -3680,7 +3680,7 @@ class C = Object with B;''');
test_mixinInheritsFromNotObject_typeAlias_with() async {
AnalysisOptionsImpl options = new AnalysisOptionsImpl();
options.enableSuperMixins = true;
- resetWithOptions(options);
+ resetWith(options: options);
Source source = addSource(r'''
class A {}
class B extends Object with A {}
@@ -3703,7 +3703,7 @@ class C = Object with B;''');
test_mixinReferencesSuper() async {
AnalysisOptionsImpl options = new AnalysisOptionsImpl();
options.enableSuperMixins = true;
- resetWithOptions(options);
+ resetWith(options: options);
Source source = addSource(r'''
class A {
toString() => super.toString();
« no previous file with comments | « pkg/analyzer/test/generated/hint_code_test.dart ('k') | pkg/analyzer/test/generated/non_hint_code_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698