| Index: pkg/analysis_server/test/integration/integration_test_methods.dart
|
| diff --git a/pkg/analysis_server/test/integration/integration_test_methods.dart b/pkg/analysis_server/test/integration/integration_test_methods.dart
|
| index eba2bda6f09db8083963a1f5d9c2ae2e8c2426fe..3b609f2d8d94adc68d6026f5d7228bbd0bc0f830 100644
|
| --- a/pkg/analysis_server/test/integration/integration_test_methods.dart
|
| +++ b/pkg/analysis_server/test/integration/integration_test_methods.dart
|
| @@ -1090,6 +1090,10 @@ abstract class IntegrationTestMixin {
|
| *
|
| * The length of the current selection in the file.
|
| *
|
| + * lineLength ( optional int )
|
| + *
|
| + * The line length to be used by the formatter.
|
| + *
|
| * Returns
|
| *
|
| * edits ( List<SourceEdit> )
|
| @@ -1105,8 +1109,8 @@ abstract class IntegrationTestMixin {
|
| *
|
| * The length of the selection after formatting the code.
|
| */
|
| - Future<EditFormatResult> sendEditFormat(String file, int selectionOffset, int selectionLength) {
|
| - var params = new EditFormatParams(file, selectionOffset, selectionLength).toJson();
|
| + Future<EditFormatResult> sendEditFormat(String file, int selectionOffset, int selectionLength, {int lineLength}) {
|
| + var params = new EditFormatParams(file, selectionOffset, selectionLength, lineLength: lineLength).toJson();
|
| return server.send("edit.format", params)
|
| .then((result) {
|
| ResponseDecoder decoder = new ResponseDecoder(null);
|
|
|