Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(563)

Unified Diff: pkg/unittest/lib/src/config.dart

Issue 12295014: Remove deprecated Strings class. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/scheduled_test/test/metatest.dart ('k') | pkg/yaml/lib/model.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/unittest/lib/src/config.dart
diff --git a/pkg/unittest/lib/src/config.dart b/pkg/unittest/lib/src/config.dart
index 73de212d31f4f54ccf3b0a0f85dba770a45ea3b2..2cd2334b07d6a3569404f59aeb5048b90f2070d6 100644
--- a/pkg/unittest/lib/src/config.dart
+++ b/pkg/unittest/lib/src/config.dart
@@ -146,7 +146,7 @@ class Configuration {
// TODO(nweiz): Use this simpler code once issue 2980 is fixed.
// return str.replaceAll(new RegExp("^", multiLine: true), " ");
- return Strings.join(str.split("\n").map((line) => " $line"), "\n");
+ return str.split("\n").map((line) => " $line").join("\n");
}
/** Handle errors that happen outside the tests. */
« no previous file with comments | « pkg/scheduled_test/test/metatest.dart ('k') | pkg/yaml/lib/model.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698