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

Unified Diff: tests/standalone/io/fuzz_support.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/fuzz_support.dart
diff --git a/tests/standalone/io/fuzz_support.dart b/tests/standalone/io/fuzz_support.dart
index e3a874e53e7abb64cf27cedb1b597e567219aba2..7faa7f562469733d53fc88a1f75c697630271080 100644
--- a/tests/standalone/io/fuzz_support.dart
+++ b/tests/standalone/io/fuzz_support.dart
@@ -16,7 +16,7 @@ const typeMapping = const {
'FileMode': FileMode.READ,
'num': 0.50,
'List<int>': const [1, 2, 3],
- 'Map<String, int>': const { "a": 23 }
+ 'Map<String, int>': const {"a": 23}
};
typePermutations(int argCount) {
@@ -42,7 +42,9 @@ typePermutations(int argCount) {
// Perform sync operation and ignore all exceptions.
doItSync(Function f) {
- try { f(); } catch (e) {}
+ try {
+ f();
+ } catch (e) {}
}
// Perform async operation and transform the future for the operation
@@ -51,6 +53,6 @@ doItSync(Function f) {
Future doItAsync(void f()) {
// Ignore value and errors.
return new Future.delayed(Duration.ZERO, f)
- .catchError((_) {})
- .then((_) => true);
+ .catchError((_) {})
+ .then((_) => true);
}

Powered by Google App Engine
This is Rietveld 408576698