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

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

Issue 11878015: Default constructor for dart:io Path now handles native Windows paths. Path() now does the same as… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Don't change tools/version.dart until the binaries are updated. Created 7 years, 11 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/test_extension_test.dart
diff --git a/tests/standalone/io/test_extension_test.dart b/tests/standalone/io/test_extension_test.dart
index 619b31d923c8dd07e8567737c0a44c4874cde236..0f5662eafa0132b54d3813f5c6ba7e14fb250967 100644
--- a/tests/standalone/io/test_extension_test.dart
+++ b/tests/standalone/io/test_extension_test.dart
@@ -38,10 +38,10 @@ Path getExtensionPath(Path buildDirectory) {
void main() {
Options options = new Options();
- Path scriptDirectory = new Path.fromNative(options.script).directoryPath;
- Path buildDirectory = new Path.fromNative(options.executable).directoryPath;
+ Path scriptDirectory = new Path(options.script).directoryPath;
+ Path buildDirectory = new Path(options.executable).directoryPath;
Directory tempDirectory = new Directory('').createTempSync();
- Path testDirectory = new Path.fromNative(tempDirectory.path);
+ Path testDirectory = new Path(tempDirectory.path);
// Copy test_extension shared library, test_extension.dart and
// test_extension_tester.dart to the temporary test directory.
« no previous file with comments | « tests/standalone/io/test_extension_fail_test.dart ('k') | tests/standalone/io/test_runner_exit_code_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698