Index: pkg/analyzer_plugin/test/src/utilities/completion/completion_target_test.dart |
diff --git a/pkg/analyzer_plugin/test/src/utilities/completion/completion_target_test.dart b/pkg/analyzer_plugin/test/src/utilities/completion/completion_target_test.dart |
index 92a29a85af732982d0344835fbf71e828d73721b..a55537357ed0a40309985b63d7389480fc4f49e4 100644 |
--- a/pkg/analyzer_plugin/test/src/utilities/completion/completion_target_test.dart |
+++ b/pkg/analyzer_plugin/test/src/utilities/completion/completion_target_test.dart |
@@ -377,7 +377,8 @@ class CompletionTargetTest extends AbstractContextTest { |
test_MapLiteralEntry() async { |
// MapLiteralEntry MapLiteral VariableDeclaration |
await addTestSource('foo = {^'); |
- await assertTarget(' : ', '{ : }'); |
+ // fasta scanner inserts synthetic closing '}' |
+ await assertTarget('}', '{}'); |
} |
test_MapLiteralEntry1() async { |