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

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

Issue 19967002: Remove uses of Path class from tests/standalone. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix windows error Created 7 years, 5 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/regress_7191_test.dart
diff --git a/tests/standalone/io/regress_7191_test.dart b/tests/standalone/io/regress_7191_test.dart
index 4e6abf1970713f2e74c693e4daaa1ffefcf87ef9..781f734577b6b8ea44e3d2ee244aadd16b6462c4 100644
--- a/tests/standalone/io/regress_7191_test.dart
+++ b/tests/standalone/io/regress_7191_test.dart
@@ -11,12 +11,12 @@
import 'dart:io';
import 'dart:isolate';
+import 'package:path/path.dart';
main() {
var port = new ReceivePort();
var executable = Platform.executable;
- var scriptDir = new Path(Platform.script).directoryPath;
- var script = scriptDir.append('regress_7191_script.dart').toNativePath();
+ var script = join(dirname(Platform.script), 'regress_7191_script.dart');
Process.start(executable, [script]).then((process) {
process.stdin.add([0]);
process.stdout.listen((_) { },
« no previous file with comments | « tests/standalone/io/raw_secure_socket_test.dart ('k') | tests/standalone/io/secure_builtin_roots_database_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698