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

Unified Diff: tests/standalone/io/directory_create_race_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_create_race_test.dart
diff --git a/tests/standalone/io/directory_create_race_test.dart b/tests/standalone/io/directory_create_race_test.dart
index 2065e66d81a9a1b5e122a2da74c980452b119b70..973511c3b06546a824315f6a1ad9c1491cb59fb9 100644
--- a/tests/standalone/io/directory_create_race_test.dart
+++ b/tests/standalone/io/directory_create_race_test.dart
@@ -18,16 +18,17 @@ void testCreateRecursiveRace() {
var temp = Directory.systemTemp.createTempSync('dart_directory_create_race');
var d = new Directory('${temp.path}/a/b/c/d/e');
Future.wait([
- d.create(recursive: true),
- d.create(recursive: true),
- d.create(recursive: true),
- d.create(recursive: true),
- d.create(recursive: true),
- d.create(recursive: true),
- d.create(recursive: true),
- d.create(recursive: true),
- d.create(recursive: true),
- d.create(recursive: true)]).then((_) {
+ d.create(recursive: true),
+ d.create(recursive: true),
+ d.create(recursive: true),
+ d.create(recursive: true),
+ d.create(recursive: true),
+ d.create(recursive: true),
+ d.create(recursive: true),
+ d.create(recursive: true),
+ d.create(recursive: true),
+ d.create(recursive: true)
+ ]).then((_) {
Expect.isTrue(new Directory('${temp.path}/a').existsSync());
Expect.isTrue(new Directory('${temp.path}/a/b').existsSync());
Expect.isTrue(new Directory('${temp.path}/a/b/c').existsSync());

Powered by Google App Engine
This is Rietveld 408576698