Index: pkg/analyzer/test/generated/ast_test.dart |
diff --git a/pkg/analyzer/test/generated/ast_test.dart b/pkg/analyzer/test/generated/ast_test.dart |
index 4302d0167c1b18c2ec6c15aa2890fae4fb638733..64ead75b326578056b1429ebf9e0abb5b70043fa 100644 |
--- a/pkg/analyzer/test/generated/ast_test.dart |
+++ b/pkg/analyzer/test/generated/ast_test.dart |
@@ -2767,6 +2767,11 @@ class ToSourceVisitorTest extends EngineTestCase { |
_assertSource("@deprecated m() {}", declaration); |
} |
+ void test_visitMethodInvocation_conditional() { |
+ _assertSource("t?.m()", AstFactory.methodInvocation( |
+ AstFactory.identifier3("t"), "m", null, TokenType.QUESTION_PERIOD)); |
+ } |
+ |
void test_visitMethodInvocation_noTarget() { |
_assertSource("m()", AstFactory.methodInvocation2("m")); |
} |