| Index: pkg/analysis_server/test/services/completion/optype_test.dart
|
| diff --git a/pkg/analysis_server/test/services/completion/optype_test.dart b/pkg/analysis_server/test/services/completion/optype_test.dart
|
| index fe1eefbd08ca44e707d2fde81fd1d1a5e94a2326..897fb20ded469b06bb253bd1d59c40dbee4ea2c8 100644
|
| --- a/pkg/analysis_server/test/services/completion/optype_test.dart
|
| +++ b/pkg/analysis_server/test/services/completion/optype_test.dart
|
| @@ -795,6 +795,24 @@ class OpTypeTest {
|
| assertOpType();
|
| }
|
|
|
| + test_MapLiteralEntry() {
|
| + // MapLiteralEntry MapLiteral VariableDeclaration
|
| + addTestSource('foo = {^');
|
| + assertOpType(returnValue: true, typeNames: true);
|
| + }
|
| +
|
| + test_MapLiteralEntry1() {
|
| + // MapLiteralEntry MapLiteral VariableDeclaration
|
| + addTestSource('foo = {T^');
|
| + assertOpType(returnValue: true, typeNames: true);
|
| + }
|
| +
|
| + test_MapLiteralEntry2() {
|
| + // SimpleIdentifier MapLiteralEntry MapLiteral VariableDeclaration
|
| + addTestSource('foo = {7:T^};');
|
| + assertOpType(returnValue: true, typeNames: true);
|
| + }
|
| +
|
| test_MethodDeclaration1() {
|
| // SimpleIdentifier MethodDeclaration ClassDeclaration
|
| addTestSource('class Bar {const ^Fara();}');
|
|
|