Index: tests/standalone/io/directory_chdir_test.dart |
diff --git a/tests/standalone/io/directory_chdir_test.dart b/tests/standalone/io/directory_chdir_test.dart |
index 1833d54a210c5743c968a364181b6d8811342b94..3613aad7cd1cd079a41354c43c624ac5285e0887 100644 |
--- a/tests/standalone/io/directory_chdir_test.dart |
+++ b/tests/standalone/io/directory_chdir_test.dart |
@@ -31,7 +31,7 @@ testChangeDirectory() { |
Expect.throws(() { |
temp.deleteSync(recursive: true); |
Directory.current; |
- }, (e) => e is DirectoryException); |
+ }, (e) => e is FileSystemException); |
Directory.current = initialCurrent; |
Directory.current; |
if (temp.existsSync()) temp.deleteSync(recursive: true); |