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

Unified Diff: tests/lib/mirrors/delegate_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/mirrors/delegate_test.dart
diff --git a/tests/lib/mirrors/delegate_test.dart b/tests/lib/mirrors/delegate_test.dart
index afe443c8b4b4d16fb45345e3440c332542500b5e..3b634546fb68df33d2b90acda09786171c4a540d 100644
--- a/tests/lib/mirrors/delegate_test.dart
+++ b/tests/lib/mirrors/delegate_test.dart
@@ -11,13 +11,14 @@ import 'package:expect/expect.dart';
class C {
method(a, b, c) => "$a-$b-$c";
- methodWithNamed(a, {b:'B', c}) => "$a-$b-$c";
- methodWithOpt(a, [b, c='C']) => "$a-$b-$c";
+ methodWithNamed(a, {b: 'B', c}) => "$a-$b-$c";
+ methodWithOpt(a, [b, c = 'C']) => "$a-$b-$c";
get getter => 'g';
set setter(x) {
- field = x*2;
+ field = x * 2;
return 'unobservable value';
}
+
var field;
}

Powered by Google App Engine
This is Rietveld 408576698