Index: dart/tests/standalone/src/FileInputStreamTest.dart |
=================================================================== |
--- dart/tests/standalone/src/FileInputStreamTest.dart (revision 386) |
+++ dart/tests/standalone/src/FileInputStreamTest.dart (working copy) |
@@ -13,10 +13,10 @@ |
// Helper method to be able to run the test from the runtime |
// directory, or the top directory. |
String getFilename(String path) => |
- FileUtil.fileExists(path) ? path : 'runtime/' + path; |
+ FileUtil.fileExists(path) ? path : '../' + path; |
main() { |
- String fName = getFilename("tests/dart/src/readuntil_test.dat"); |
+ String fName = getFilename("tests/standalone/src/readuntil_test.dat"); |
// File contains "Hello Dart, wassup!" |
File file = new File(fName, false); |
FileInputStream x = new FileInputStream(file); |