| Index: tests/standalone/io/file_error_test.dart
|
| diff --git a/tests/standalone/io/file_error_test.dart b/tests/standalone/io/file_error_test.dart
|
| index 57ffce261c46cbcddc09401b4d54fd498446d42f..094064cce1c0cf2c8e863ca99ffda6eb1586afa9 100644
|
| --- a/tests/standalone/io/file_error_test.dart
|
| +++ b/tests/standalone/io/file_error_test.dart
|
| @@ -490,6 +490,16 @@ testRepeatedlyCloseFile() {
|
| });
|
| }
|
|
|
| +testRepeatedlyCloseFileSync() {
|
| + createTestFile((file, port) {
|
| + var openedFile = file.openSync();
|
| + openedFile.closeSync();
|
| + Expect.throws(openedFile.closeSync,
|
| + (e) => e is FileIOException);
|
| + port.send(null);
|
| + });
|
| +}
|
| +
|
| main() {
|
| testOpenNonExistent();
|
| testDeleteNonExistent();
|
| @@ -505,4 +515,5 @@ main() {
|
| testTruncateReadOnlyFile();
|
| testOperateOnClosedFile();
|
| testRepeatedlyCloseFile();
|
| + testRepeatedlyCloseFileSync();
|
| }
|
|
|