| Index: sdk/lib/_internal/pub/test/command_line_config.dart
|
| diff --git a/sdk/lib/_internal/pub/test/command_line_config.dart b/sdk/lib/_internal/pub/test/command_line_config.dart
|
| index ed55aff16ff4eefe459e1dd10240f9703a9432d1..bdceafb80ba6e21702d434f9514943c64c117b66 100644
|
| --- a/sdk/lib/_internal/pub/test/command_line_config.dart
|
| +++ b/sdk/lib/_internal/pub/test/command_line_config.dart
|
| @@ -106,11 +106,8 @@ class CommandLineConfiguration extends Configuration {
|
| return result.toString();
|
| }
|
|
|
| - String _indent(String str) {
|
| - // TODO(nweiz): Use this simpler code once issue 2980 is fixed.
|
| - // return str.replaceAll(new RegExp("^", multiLine: true), " ");
|
| - return str.split("\n").map((line) => " $line").join("\n");
|
| - }
|
| + String _indent(String str) =>
|
| + str.replaceAll(new RegExp("^", multiLine: true), " ");
|
| }
|
|
|
| class _StackFrame {
|
|
|