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

Unified Diff: pkg/analyzer/test/generated/simple_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/simple_resolver_test.dart
diff --git a/pkg/analyzer/test/generated/simple_resolver_test.dart b/pkg/analyzer/test/generated/simple_resolver_test.dart
index b0b18495d0e4ebced724a7c3da992302769d7f48..e515af35670ff08dcead0413bcee481881a32878 100644
--- a/pkg/analyzer/test/generated/simple_resolver_test.dart
+++ b/pkg/analyzer/test/generated/simple_resolver_test.dart
@@ -1107,7 +1107,7 @@ class C = Object with A;''');
}
test_isValidMixin_badSuperclass_withSuperMixins() async {
- resetWithOptions(new AnalysisOptionsImpl()..enableSuperMixins = true);
+ resetWith(options: new AnalysisOptionsImpl()..enableSuperMixins = true);
Source source = addSource(r'''
class A extends B {}
class B {}
@@ -1141,7 +1141,7 @@ class C = Object with A;''');
}
test_isValidMixin_constructor_withSuperMixins() async {
- resetWithOptions(new AnalysisOptionsImpl()..enableSuperMixins = true);
+ resetWith(options: new AnalysisOptionsImpl()..enableSuperMixins = true);
Source source = addSource(r'''
class A {
A() {}
@@ -1176,7 +1176,7 @@ class C = Object with A;''');
}
test_isValidMixin_factoryConstructor_withSuperMixins() async {
- resetWithOptions(new AnalysisOptionsImpl()..enableSuperMixins = true);
+ resetWith(options: new AnalysisOptionsImpl()..enableSuperMixins = true);
Source source = addSource(r'''
class A {
factory A() => null;
@@ -1213,7 +1213,7 @@ class C = Object with A;''');
}
test_isValidMixin_super_withSuperMixins() async {
- resetWithOptions(new AnalysisOptionsImpl()..enableSuperMixins = true);
+ resetWith(options: new AnalysisOptionsImpl()..enableSuperMixins = true);
Source source = addSource(r'''
class A {
toString() {
@@ -1248,7 +1248,7 @@ class C = Object with A;''');
}
test_isValidMixin_valid_withSuperMixins() async {
- resetWithOptions(new AnalysisOptionsImpl()..enableSuperMixins = true);
+ resetWith(options: new AnalysisOptionsImpl()..enableSuperMixins = true);
Source source = addSource('''
class A {}
class C = Object with A;''');
« no previous file with comments | « pkg/analyzer/test/generated/resolver_test_case.dart ('k') | pkg/analyzer/test/generated/static_type_warning_code_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698