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

Unified Diff: test/io.dart

Issue 1290763003: Drop support for old SDK and shelf versions. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Code review changes Created 5 years, 4 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 | « pubspec.yaml ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/io.dart
diff --git a/test/io.dart b/test/io.dart
index 93f5c5834990aeeb301b16c50aeabb61b04e32c4..fc727e3dc6103f20d47bf77f2fd32d1bcdb7f32f 100644
--- a/test/io.dart
+++ b/test/io.dart
@@ -19,7 +19,7 @@ final String packageDir = p.dirname(p.dirname(libraryPath(#test.test.io)));
/// The path to the `pub` executable in the current Dart SDK.
final _pubPath = p.absolute(p.join(
- p.dirname(Platform.executable),
+ p.dirname(Platform.resolvedExecutable),
Platform.isWindows ? 'pub.bat' : 'pub'));
/// The platform-specific message emitted when a nonexistent file is loaded.
@@ -127,7 +127,7 @@ ScheduledProcess runDart(List args, {Map<String, String> environment,
}).toList()..addAll(args);
return new ScheduledProcess.start(
- p.absolute(Platform.executable), allArgs,
+ p.absolute(Platform.resolvedExecutable), allArgs,
workingDirectory: _sandbox,
environment: environment,
description: description);
« no previous file with comments | « pubspec.yaml ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698