Index: pkg/analysis_server/test/protocol_server_test.dart |
diff --git a/pkg/analysis_server/test/protocol_server_test.dart b/pkg/analysis_server/test/protocol_server_test.dart |
index 9942fa6f921e3538455319a5468259651cc78a76..7abbe3f70314f963ca3c12d7f51bb32f22727fbc 100644 |
--- a/pkg/analysis_server/test/protocol_server_test.dart |
+++ b/pkg/analysis_server/test/protocol_server_test.dart |
@@ -517,7 +517,7 @@ myLabel: |
'/test.dart', |
''' |
class A { |
- static List<String> myMethod(int a, {String b}) { |
+ static List<String> myMethod(int a, {String b, int c}) { |
return null; |
} |
}'''); |
@@ -535,7 +535,7 @@ class A { |
expect(location.startLine, 2); |
expect(location.startColumn, 23); |
} |
- expect(element.parameters, '(int a, {String b})'); |
+ expect(element.parameters, '(int a, {String b, int c})'); |
expect(element.returnType, 'List<String>'); |
expect(element.flags, Element.FLAG_STATIC); |
} |