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