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

Unified Diff: tests/standalone/io/stream_pipe_test.dart

Issue 12441003: Rename String.concat to operator+. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. Created 7 years, 9 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
Index: tests/standalone/io/stream_pipe_test.dart
diff --git a/tests/standalone/io/stream_pipe_test.dart b/tests/standalone/io/stream_pipe_test.dart
index cf9383753d0a545df05171e65e3e036105d9fd05..4e77cdfc37cf18941aa725818ea68ce21aafb16b 100644
--- a/tests/standalone/io/stream_pipe_test.dart
+++ b/tests/standalone/io/stream_pipe_test.dart
@@ -68,7 +68,7 @@ testFileToFilePipe1() {
var srcStream = new File(srcFileName).openRead();
var tempDir = new Directory('').createTempSync();
- String dstFileName = tempDir.path.concat("/readline_test1.dat");
+ String dstFileName = tempDir.path + "/readline_test1.dat";
new File(dstFileName).createSync();
var output = new File(dstFileName).openWrite();
srcStream.pipe(output).then((_) {
@@ -95,7 +95,7 @@ testFileToFilePipe2() {
var srcStream = srcFile.openRead();
var tempDir = new Directory('').createTempSync();
- var dstFileName = tempDir.path.concat("/readline_test1.dat");
+ var dstFileName = tempDir.path + "/readline_test1.dat";
var dstFile = new File(dstFileName);
dstFile.createSync();
var output = dstFile.openWrite();
@@ -138,7 +138,7 @@ testFileToFilePipe3() {
var srcStream = srcFile.openRead();
var tempDir = new Directory('').createTempSync();
- var dstFileName = tempDir.path.concat("/readline_test1.dat");
+ var dstFileName = tempDir.path + "/readline_test1.dat";
var dstFile = new File(dstFileName);
dstFile.createSync();
var output = dstFile.openWrite();
« no previous file with comments | « tests/standalone/io/process_working_directory_test.dart ('k') | tests/standalone/package/packages/lib1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698