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

Unified Diff: tests/lib_strong/mirrors/constructor_optional_args_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/lib_strong/mirrors/constructor_optional_args_test.dart
diff --git a/tests/lib_strong/mirrors/constructor_optional_args_test.dart b/tests/lib_strong/mirrors/constructor_optional_args_test.dart
index f9d9657e1b063b276fe771d0a0c1be50abc569fc..22a9acb7f317f7eb12c45f5ebd448d82adebd2f2 100644
--- a/tests/lib_strong/mirrors/constructor_optional_args_test.dart
+++ b/tests/lib_strong/mirrors/constructor_optional_args_test.dart
@@ -17,14 +17,19 @@ class A {
class B implements A {
final _x, _y, _z;
- B([x = 'x', y = 'y']) : _x = x, _y = y, _z = null;
+ B([x = 'x', y = 'y'])
+ : _x = x,
+ _y = y,
+ _z = null;
- B.more([x = 'x', y = 'y', z = 'z']) : _x = x, _y = y, _z = z;
+ B.more([x = 'x', y = 'y', z = 'z'])
+ : _x = x,
+ _y = y,
+ _z = z;
toString() => 'B(x=$_x, y=$_y, z=$_z)';
}
-
main() {
var d1 = new A(1);
Expect.equals('B(x=1, y=y, z=null)', '$d1', 'direct 1');

Powered by Google App Engine
This is Rietveld 408576698