| Index: packages/dart_style/test/splitting/parameters.unit
|
| diff --git a/packages/dart_style/test/splitting/parameters.unit b/packages/dart_style/test/splitting/parameters.unit
|
| index 56d43f249fd1ec1c6f19b309f4c9c617d926cec4..5ac592d083f40458869022972c2fab00ccc8acc3 100644
|
| --- a/packages/dart_style/test/splitting/parameters.unit
|
| +++ b/packages/dart_style/test/splitting/parameters.unit
|
| @@ -13,4 +13,34 @@ method(int firstArgument, int argumentTwo) => "very long body that must wrap";
|
| <<<
|
| method(int firstArgument,
|
| int argumentTwo) =>
|
| - "very long body that must wrap";
|
| + "very long body that must wrap";
|
| +>>> split before "covariant" (skip: published version of analyzer doesn't support 'covariant yet')
|
| +class A {
|
| + longMethod(covariant parameterNameHere) {}
|
| +}
|
| +<<<
|
| +class A {
|
| + longMethod(
|
| + covariant parameterNameHere) {}
|
| +}
|
| +>>> split before "covariant" with multiple parameters (skip: published version of analyzer doesn't support 'covariant yet')
|
| +class A {
|
| + longMethod(covariant first, second, covariant int third(parameter), fourth) {}
|
| +}
|
| +<<<
|
| +class A {
|
| + longMethod(
|
| + covariant first,
|
| + second,
|
| + covariant int third(parameter),
|
| + fourth) {}
|
| +}
|
| +>>> never split after "covariant" (at least for now) (skip: published version of analyzer doesn't support 'covariant yet')
|
| +class A {
|
| + longMethod(covariant int veryLongParameterNameWow) {}
|
| +}
|
| +<<<
|
| +class A {
|
| + longMethod(
|
| + covariant int veryLongParameterNameWow) {}
|
| +}
|
|
|