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

Unified Diff: tests/language_strong/on_catch_malformed_type_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/language_strong/on_catch_malformed_type_test.dart
diff --git a/tests/language_strong/on_catch_malformed_type_test.dart b/tests/language_strong/on_catch_malformed_type_test.dart
index e4c1f86910a982198f5b292e86d27a218c210676..c4d17e82ad11a85258a0729f0db14428ca0c3bdd 100644
--- a/tests/language_strong/on_catch_malformed_type_test.dart
+++ b/tests/language_strong/on_catch_malformed_type_test.dart
@@ -11,9 +11,9 @@ catchUnresolvedBefore() {
try {
throw "foo";
Expect.fail("This code shouldn't be executed");
- } on String catch(oks) {
+ } on String catch (oks) {
// This is tested before the catch block below.
- } on Unavailable catch(ex) {
+ } on Unavailable catch (ex) {
Expect.fail("This code shouldn't be executed");
}
}
@@ -23,10 +23,10 @@ catchUnresolvedAfter() {
try {
throw "foo";
Expect.fail("This code shouldn't be executed");
- } on Unavailable catch(ex) {
+ } on Unavailable catch (ex) {
// This is tested before the catch block below.
// In both production and checked mode the test causes a type error.
- } on String catch(oks) {
+ } on String catch (oks) {
Expect.fail("This code shouldn't be executed");
}
}, (e) => e is TypeError);

Powered by Google App Engine
This is Rietveld 408576698