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

Unified Diff: tests/language/regress_21795_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/regress_21795_test.dart
diff --git a/tests/language/regress_21795_test.dart b/tests/language/regress_21795_test.dart
index 91506c7d50140f21eb762ecf91e9fc8b0ab740ea..c264ef385e43ce985d0f2e4d3d480610281b7d92 100644
--- a/tests/language/regress_21795_test.dart
+++ b/tests/language/regress_21795_test.dart
@@ -7,34 +7,30 @@
foo(t) {
try {
if (t == 123) throw 42;
- } finally { }
+ } finally {}
}
bar() {
try {
return 42;
- } finally { }
+ } finally {}
}
-
class A {
test(t) {
try {
foo(t);
} finally {
if (t == 0) {
- try {
- } catch (err, st) {
- }
+ try {} catch (err, st) {}
}
}
}
}
-
main() {
var a = new A();
- for (var i=0; i<10000; ++i) a.test(0);
+ for (var i = 0; i < 10000; ++i) a.test(0);
try {
a.test(123);
} catch (e, s) {

Powered by Google App Engine
This is Rietveld 408576698