Index: pkg/analyzer/test/generated/incremental_resolver_test.dart |
diff --git a/pkg/analyzer/test/generated/incremental_resolver_test.dart b/pkg/analyzer/test/generated/incremental_resolver_test.dart |
index febb8b55ce349226e3643bd64a3365db6d292b0b..fa0ad4931470d9b41c0405a0f25b1b7c7a061ec4 100644 |
--- a/pkg/analyzer/test/generated/incremental_resolver_test.dart |
+++ b/pkg/analyzer/test/generated/incremental_resolver_test.dart |
@@ -1313,6 +1313,25 @@ main() { |
} |
} |
+ void test_strongMode_typeComments_insertWhitespace() { |
+ _resolveUnit(r''' |
+import 'dart:async'; |
+ |
+void fadeIn(int milliseconds) { |
+ Future<String> f; |
+ f.then/*<String>*/((e) {print("hello");}); |
+} |
+'''); |
+ _updateAndValidate(r''' |
+import 'dart:async'; |
+ |
+void fadeIn(int milliseconds) { |
+ Future<String> f; |
+ f.then/*<String>*/((e) {print("hello") ;}); |
+} |
+'''); |
+ } |
+ |
void test_true_emptyLine_betweenClassMembers_insert() { |
_resolveUnit(r''' |
class A { |
@@ -1883,6 +1902,7 @@ class B extends A {} |
*/ |
void _resetWithIncremental(bool enable) { |
AnalysisOptionsImpl analysisOptions = new AnalysisOptionsImpl(); |
+ analysisOptions.strongMode = true; |
analysisOptions.incremental = enable; |
analysisOptions.incrementalApi = enable; |
logging.logger = logger; |