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

Unified Diff: tests/language/issue12284_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/issue12284_test.dart
diff --git a/tests/language/issue12284_test.dart b/tests/language/issue12284_test.dart
index efb5883135765c3c1d50fefd07201f1c1d6a42b7..62d7b881c7c905f32631cb9c45011e00d6faceec 100644
--- a/tests/language/issue12284_test.dart
+++ b/tests/language/issue12284_test.dart
@@ -11,7 +11,7 @@ class A {
@DontInline()
A(param) {
// Currently defeat inlining by using a closure.
- var bar = () => 42;
+ var bar = () => 42;
field = param + 42;
}
A.redirect() : this('foo');
@@ -19,6 +19,6 @@ class A {
main() {
Expect.equals(42 + 42, new A(42).field);
- Expect.throws(() => new A.redirect(),
- (e) => e is ArgumentError || e is TypeError);
+ Expect.throws(
+ () => new A.redirect(), (e) => e is ArgumentError || e is TypeError);
}

Powered by Google App Engine
This is Rietveld 408576698