| 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 179b09b1effb95154ffa4484cfa6ace2e75aa200..3bcf191da1130cf19e97ea2f5f9cd426a7daa882 100644
|
| --- a/pkg/analysis_server/test/services/completion/optype_test.dart
|
| +++ b/pkg/analysis_server/test/services/completion/optype_test.dart
|
| @@ -191,6 +191,36 @@ class OpTypeTest {
|
| assertOpType(returnValue: true, typeNames: true);
|
| }
|
|
|
| + test_AwaitExpression2() {
|
| + addTestSource('main() async {A a; await c^ await}');
|
| + assertOpType(returnValue: true, typeNames: true);
|
| + }
|
| +
|
| + test_AwaitExpression3() {
|
| + addTestSource('main() async {A a; await ^ await foo;}');
|
| + assertOpType(returnValue: true, typeNames: true);
|
| + }
|
| +
|
| + test_AwaitExpression4() {
|
| + addTestSource('main() async {A a; await ^ await bar();}');
|
| + assertOpType(returnValue: true, typeNames: true);
|
| + }
|
| +
|
| + test_AwaitExpression_assignment() {
|
| + addTestSource('main() async {A a; int x = await ^}');
|
| + assertOpType(returnValue: true, typeNames: true);
|
| + }
|
| +
|
| + test_AwaitExpression_assignment2() {
|
| + addTestSource('main() async {A a; int x = await ^ await foo;}');
|
| + assertOpType(returnValue: true, typeNames: true);
|
| + }
|
| +
|
| + test_AwaitExpression_assignment3() {
|
| + addTestSource('main() async {A a; int x = await v^ int y = await foo;}');
|
| + assertOpType(returnValue: true, typeNames: true);
|
| + }
|
| +
|
| test_BinaryExpression_LHS() {
|
| // SimpleIdentifier BinaryExpression VariableDeclaration
|
| // VariableDeclarationList VariableDeclarationStatement
|
|
|