Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(318)

Unified Diff: tests/standalone/io/directory_list_nonexistent_test.dart

Issue 2771453003: Format all tests. (Closed)
Patch Set: Format files Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();
});

Powered by Google App Engine
This is Rietveld 408576698