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

Unified Diff: tests/language_strong/lazy_static3_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/lazy_static3_test.dart
diff --git a/tests/language_strong/lazy_static3_test.dart b/tests/language_strong/lazy_static3_test.dart
index feb0e46067f060df85300093d6dff962d80d4b2a..72821aeb4e2f2bab687142e9cc43413389e95a69 100644
--- a/tests/language_strong/lazy_static3_test.dart
+++ b/tests/language_strong/lazy_static3_test.dart
@@ -12,18 +12,27 @@ var x5 = foo5();
final x6 = foo6();
int x7 = x7 + 1;
-foo() { throw "interrupt initialization"; }
-foo2() { x2 = 499; throw "interrupt initialization"; }
+foo() {
+ throw "interrupt initialization";
+}
+
+foo2() {
+ x2 = 499;
+ throw "interrupt initialization";
+}
+
foo3() => x3 + 1;
foo4() {
x4 = 498;
x4 = x4 + 1;
return x4;
}
+
foo5() {
x5 = 498;
x5 = x5 + 1;
}
+
foo6() {
try {
return x5 + 1;

Powered by Google App Engine
This is Rietveld 408576698