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

Unified Diff: tests/language/getter_setter_order_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/getter_setter_order_test.dart
diff --git a/tests/language/getter_setter_order_test.dart b/tests/language/getter_setter_order_test.dart
index feada29953c9ec007545df55406bed9a3ba2f6d4..0050b7eb04e9b0d23942ef3ec351ebd1efc9e9c7 100644
--- a/tests/language/getter_setter_order_test.dart
+++ b/tests/language/getter_setter_order_test.dart
@@ -14,7 +14,7 @@ class X {
return new X();
}
- set c (value) {
+ set c(value) {
trace.add('set c');
}
@@ -33,7 +33,7 @@ class X {
return new X();
}
- operator [] (index) {
+ operator [](index) {
trace.add('index');
return 42;
}
@@ -81,7 +81,13 @@ main() {
trace = [];
x.b.c = x.d.c = '$x';
- Expect.listEquals(['get b', 'get d', 'toString', 'set c', 'set c',], trace);
+ Expect.listEquals([
+ 'get b',
+ 'get d',
+ 'toString',
+ 'set c',
+ 'set c',
+ ], trace);
trace = [];
x.b.c = x.d[42] *= '$x'.hashCode;

Powered by Google App Engine
This is Rietveld 408576698