Index: tests/standalone/io/directory_list_nonexistent_test.dart |
diff --git a/tests/standalone/io/directory_list_nonexistent_test.dart b/tests/standalone/io/directory_list_nonexistent_test.dart |
index f33303d49812cab43b2e9f07749f77a58a6fd561..c3e92f1ee69f385c0188719b97cc27696a513e08 100644 |
--- a/tests/standalone/io/directory_list_nonexistent_test.dart |
+++ b/tests/standalone/io/directory_list_nonexistent_test.dart |
@@ -17,8 +17,8 @@ void testListNonExistent() { |
Directory.systemTemp.createTemp('dart_directory_list_nonexistent').then((d) { |
d.delete().then((ignore) { |
Expect.throws(() => d.listSync(), (e) => e is FileSystemException); |
- Expect.throws(() => d.listSync(recursive: true), |
- (e) => e is FileSystemException); |
+ Expect.throws( |
+ () => d.listSync(recursive: true), (e) => e is FileSystemException); |
asyncEnd(); |
}); |
}); |
@@ -38,10 +38,9 @@ void testListTooLongName() { |
buffer.write("/../${subDirName}"); |
} |
var long = new Directory("${buffer.toString()}"); |
- Expect.throws(() => long.listSync(), |
- (e) => e is FileSystemException); |
+ Expect.throws(() => long.listSync(), (e) => e is FileSystemException); |
Expect.throws(() => long.listSync(recursive: true), |
- (e) => e is FileSystemException); |
+ (e) => e is FileSystemException); |
d.deleteSync(recursive: true); |
asyncEnd(); |
}); |