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

Unified Diff: pkg/analyzer/test/generated/compile_time_error_code_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/compile_time_error_code_test.dart
diff --git a/pkg/analyzer/test/generated/compile_time_error_code_test.dart b/pkg/analyzer/test/generated/compile_time_error_code_test.dart
index 494062f396579ac7bf72972175fb3d1afafc4c8b..b3e4254ccfcfcb53902a763c910b3cd625367112 100644
--- a/pkg/analyzer/test/generated/compile_time_error_code_test.dart
+++ b/pkg/analyzer/test/generated/compile_time_error_code_test.dart
@@ -4584,7 +4584,8 @@ f() {
}
test_nonConstValueInInitializer_assert_condition() async {
- resetWithOptions(new AnalysisOptionsImpl()..enableAssertInitializer = true);
+ resetWith(
+ options: new AnalysisOptionsImpl()..enableAssertInitializer = true);
Source source = addSource(r'''
class A {
const A(int i) : assert(i.isNegative);
@@ -4596,7 +4597,8 @@ class A {
}
test_nonConstValueInInitializer_assert_message() async {
- resetWithOptions(new AnalysisOptionsImpl()..enableAssertInitializer = true);
+ resetWith(
+ options: new AnalysisOptionsImpl()..enableAssertInitializer = true);
Source source = addSource(r'''
class A {
const A(int i) : assert(i < 0, 'isNegative = ${i.isNegative}');
« no previous file with comments | « pkg/analyzer/test/generated/all_the_rest_test.dart ('k') | pkg/analyzer/test/generated/declaration_resolver_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698