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. |