fix completion test expectation for fasta scanner

Review-Url: https://codereview.chromium.org/2972063002 .
This commit is contained in:
danrubel 2017-07-06 14:07:43 -04:00
parent d107b64680
commit 8cca317118

View file

@ -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 {