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

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

Issue 51043004: Remove uses of Options from tools directory. Fix platform_test. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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 | « no previous file | tools/coverage.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/platform_test.dart
diff --git a/tests/standalone/io/platform_test.dart b/tests/standalone/io/platform_test.dart
index ce7809fc0fe121fa5ad712ce6eae9eb458ee644e..04494aac90cbc3dd8d4ca174519f65490ae0a738 100644
--- a/tests/standalone/io/platform_test.dart
+++ b/tests/standalone/io/platform_test.dart
@@ -48,10 +48,10 @@ testIsolate() {
port.first.then((results) {
Expect.equals(Platform.executable, results["Platform.executable"]);
- Uri uri = Uri.file(results["Platform.script"]);
+ Uri uri = new Uri.file(results["Platform.script"]);
// SpawnFunction retains the script url of the parent which in this
// case was a relative path.
- Expect.equals("", uri.scheme);
+ Expect.equals("file", uri.scheme);
Expect.isTrue(uri.path.endsWith('tests/standalone/io/platform_test.dart'));
Expect.equals(Platform.packageRoot, results["Platform.packageRoot"]);
Expect.listEquals(Platform.executableArguments,
« no previous file with comments | « no previous file | tools/coverage.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698