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

Unified Diff: pkg/analyzer_plugin/test/src/utilities/completion/completion_target_test.dart

Issue 2972063002: fix completion test expectation for fasta scanner (Closed)
Patch Set: Created 3 years, 5 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698