Index: pkg/unittest/lib/src/config.dart |
diff --git a/pkg/unittest/lib/src/config.dart b/pkg/unittest/lib/src/config.dart |
index cd0f365b3be5d613fdedfb348fde7b4010411d3b..5dda552750ebad8bd8bd8cdfcad2c2c26a627961 100644 |
--- a/pkg/unittest/lib/src/config.dart |
+++ b/pkg/unittest/lib/src/config.dart |
@@ -133,7 +133,7 @@ class Configuration { |
String _indent(String str) { |
// TODO(nweiz): Use this simpler code once issue 2980 is fixed. |
- // return str.replaceAll(new RegExp("^", multiLine: true), " "); |
+ // return str.replaceAll(const RegExp("^", multiLine: true), " "); |
return Strings.join(str.split("\n").map((line) => " $line"), "\n"); |
} |