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 98c191a956fa18cfd5cacb18cfcbd90a85775815..a60941bb8bacaaad3e93e29e739920b94655480c 100644 |
--- a/pkg/analyzer/test/generated/incremental_resolver_test.dart |
+++ b/pkg/analyzer/test/generated/incremental_resolver_test.dart |
@@ -4478,8 +4478,7 @@ f3() { |
// Resolve "newCode" from scratch. |
if (compareWithFull) { |
_resetWithIncremental(false); |
- source = addSource(newCode + ' '); |
- source = addSource(newCode); |
+ changeSource(source, newCode); |
_runTasks(); |
LibraryElement library = resolve2(source); |
CompilationUnit fullNewUnit = resolveCompilationUnit(source, library); |