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

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

Issue 745513003: Match enums, class type alias, type parameters. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 1 month 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 574b62960ab146dfb3d0b15495c90e0204b375a2..3a4fc78d7c69e723d28df1f3dd8efd19c61bb12a 100644
--- a/pkg/analyzer/test/generated/non_error_resolver_test.dart
+++ b/pkg/analyzer/test/generated/non_error_resolver_test.dart
@@ -2597,9 +2597,7 @@ set x(v) {}''');
}
void test_missingEnumConstantInSwitch_all() {
- AnalysisOptionsImpl analysisOptions = new AnalysisOptionsImpl();
- analysisOptions.enableEnum = true;
- resetWithOptions(analysisOptions);
+ resetWithEnum();
Source source = addSource(r'''
enum E { A, B, C }
@@ -2616,9 +2614,7 @@ f(E e) {
}
void test_missingEnumConstantInSwitch_default() {
- AnalysisOptionsImpl analysisOptions = new AnalysisOptionsImpl();
- analysisOptions.enableEnum = true;
- resetWithOptions(analysisOptions);
+ resetWithEnum();
Source source = addSource(r'''
enum E { A, B, C }
« no previous file with comments | « pkg/analyzer/test/generated/incremental_resolver_test.dart ('k') | pkg/analyzer/test/generated/resolver_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698