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

Unified Diff: samples/tests/dartc/test_config.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
« no previous file with comments | « no previous file | sdk/lib/_internal/compiler/implementation/filenames.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/tests/dartc/test_config.dart
diff --git a/samples/tests/dartc/test_config.dart b/samples/tests/dartc/test_config.dart
index caec03183a77b9ee18a021a76aa5ad5ab2b70cf2..a7bb1f4ca601beafeca399495f6fffc708338fc5 100644
--- a/samples/tests/dartc/test_config.dart
+++ b/samples/tests/dartc/test_config.dart
@@ -43,7 +43,7 @@ class SamplesDartcTestSuite extends DartcCompilationTestSuite {
// Using readOptionsFromFile here causes the file to be read twice,
// because readOptionsFromFile is called again in the superclass.
// Avoid this in new code.
- return StandardTestSuite.readOptionsFromFile(new Path.fromNative(filename))
+ return StandardTestSuite.readOptionsFromFile(new Path(filename))
["containsLeadingHash"];
}
« no previous file with comments | « no previous file | sdk/lib/_internal/compiler/implementation/filenames.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698