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

Unified Diff: tests/language/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/lazy_static3_test.dart
diff --git a/tests/language/lazy_static3_test.dart b/tests/language/lazy_static3_test.dart
index 796b39f5e5707cf2ba49e277f06c45583603271d..bc5fdb5ccc552735fbd33ec04c1e62bf5aa3c39c 100644
--- a/tests/language/lazy_static3_test.dart
+++ b/tests/language/lazy_static3_test.dart
@@ -12,18 +12,27 @@ var x5 = foo5();
final x6 = foo6();
var 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