Index: tests/standalone/src/io/DirectoryTest.dart |
diff --git a/tests/standalone/src/io/DirectoryTest.dart b/tests/standalone/src/io/DirectoryTest.dart |
index fe332737dd49446f6133d7b40804584a54412833..b9df70ea6f3fb6674b85e407b91632ff200955b9 100644 |
--- a/tests/standalone/src/io/DirectoryTest.dart |
+++ b/tests/standalone/src/io/DirectoryTest.dart |
@@ -439,7 +439,7 @@ testCreateTempErrorSync() { |
var location = illegalTempDirectoryLocation(); |
if (location != null) { |
Expect.throws(new Directory(location).createTempSync, |
- (e) => e is DirectoryException); |
+ (e) => e is DirectoryIOException); |
} |
} |