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 3613aad7cd1cd079a41354c43c624ac5285e0887..d1ae9b822d99e3250401cfe1ba3f12557a2f19c3 100644 |
--- a/tests/standalone/io/directory_chdir_test.dart |
+++ b/tests/standalone/io/directory_chdir_test.dart |
@@ -4,7 +4,6 @@ |
// |
// Directory listing test. |
- |
import "dart:io"; |
import "package:async_helper/async_helper.dart"; |
@@ -39,18 +38,16 @@ testChangeDirectory() { |
}); |
} |
- |
testChangeDirectoryIllegalArguments() { |
Expect.throws(() => Directory.current = 1, (e) => e is ArgumentError); |
Expect.throws(() => Directory.current = 111111111111111111111111111111111111, |
- (e) => e is ArgumentError); |
+ (e) => e is ArgumentError); |
Expect.throws(() => Directory.current = true, (e) => e is ArgumentError); |
Expect.throws(() => Directory.current = [], (e) => e is ArgumentError); |
- Expect.throws(() => Directory.current = new File("xxx"), |
- (e) => e is ArgumentError); |
+ Expect.throws( |
+ () => Directory.current = new File("xxx"), (e) => e is ArgumentError); |
} |
- |
main() { |
testChangeDirectory(); |
testChangeDirectoryIllegalArguments(); |