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

Unified Diff: tests/standalone/io/test_extension_fail_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_fail_test.dart
diff --git a/tests/standalone/io/test_extension_fail_test.dart b/tests/standalone/io/test_extension_fail_test.dart
index 608c4697205f8bf598ef752423f7e6f2205bb4b7..0bde0a9d6e1c8bc333ee9a513009d05046b0a06a 100644
--- a/tests/standalone/io/test_extension_fail_test.dart
+++ b/tests/standalone/io/test_extension_fail_test.dart
@@ -37,10 +37,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_fail_tester.dart to the temporary test directory.
« no previous file with comments | « tests/standalone/io/skipping_dart2js_compilations_test.dart ('k') | tests/standalone/io/test_extension_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698