Index: tests/standalone/io/file_write_only_test.dart |
diff --git a/tests/standalone/io/file_write_only_test.dart b/tests/standalone/io/file_write_only_test.dart |
index 4b58bd05eba96635aa87c2d70ac5ed9626adcc92..f5419103edb4ea5ca105aa1d7121c0772f631fa5 100644 |
--- a/tests/standalone/io/file_write_only_test.dart |
+++ b/tests/standalone/io/file_write_only_test.dart |
@@ -62,7 +62,7 @@ void writeSync(Directory dir) { |
raf.writeStringSync('Hello'); |
raf.setPositionSync(0); |
Expect.throws(() => raf.readByteSync()); |
- raf.close(); |
+ raf.closeSync(); |
} |
Future openWrite(Directory dir) async { |
@@ -78,8 +78,8 @@ Future openWrite(Directory dir) async { |
main() async { |
asyncStart(); |
- await withTempDir('file_write_only_test_1', write); |
- withTempDirSync('file_write_only_test_2', writeSync); |
- await withTempDir('file_write_only_test_3', openWrite); |
+ await withTempDir('file_write_only_test_1_', write); |
+ withTempDirSync('file_write_only_test_2_', writeSync); |
+ await withTempDir('file_write_only_test_3_', openWrite); |
asyncEnd(); |
} |