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"]; |
} |