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..35bfb71ed4d020fe550cfdfd3cc3189745dca9ce 100644 |
--- a/tests/standalone/src/io/DirectoryTest.dart |
+++ b/tests/standalone/src/io/DirectoryTest.dart |
@@ -438,8 +438,8 @@ String illegalTempDirectoryLocation() { |
testCreateTempErrorSync() { |
var location = illegalTempDirectoryLocation(); |
if (location != null) { |
- Expect.throws(new Directory(location).createTempSync, |
- (e) => e is DirectoryException); |
+ Expect.throws(() => new Directory(location).createTempSync(), |
Mads Ager (google)
2012/03/13 10:56:17
Is this change needed?
Søren Gjesse
2012/03/13 12:39:49
No, reverted.
|
+ (e) => e is DirectoryIOException); |
} |
} |