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

Unified Diff: tests/html/js_function_getter_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/html/js_function_getter_test.dart
diff --git a/tests/html/js_function_getter_test.dart b/tests/html/js_function_getter_test.dart
index c8a61b8d86dda95bb45b5dc6e271aa87faf7ffd5..adcf2702aa55265ad12601ca049eb9e736459f84 100644
--- a/tests/html/js_function_getter_test.dart
+++ b/tests/html/js_function_getter_test.dart
@@ -69,41 +69,41 @@ main() {
test('member function', () {
expect(foo.bar.instanceMember(), equals(0));
expect(foo.bar.instanceMember(0), equals(1));
- expect(foo.bar.instanceMember(0,0), equals(2));
- expect(foo.bar.instanceMember(0,0,0,0,0,0), equals(6));
+ expect(foo.bar.instanceMember(0, 0), equals(2));
+ expect(foo.bar.instanceMember(0, 0, 0, 0, 0, 0), equals(6));
var instanceMember = foo.bar.instanceMember;
expect(() => instanceMember(), throws);
expect(() => instanceMember(0), throws);
- expect(() => instanceMember(0,0), throws);
- expect(() => instanceMember(0,0,0,0,0,0), throws);
+ expect(() => instanceMember(0, 0), throws);
+ expect(() => instanceMember(0, 0, 0, 0, 0, 0), throws);
});
test('static function', () {
expect(foo.bar.staticMember(), equals(0));
expect(foo.bar.staticMember(0), equals(2));
- expect(foo.bar.staticMember(0,0), equals(4));
- expect(foo.bar.staticMember(0,0,0,0,0,0), equals(12));
+ expect(foo.bar.staticMember(0, 0), equals(4));
+ expect(foo.bar.staticMember(0, 0, 0, 0, 0, 0), equals(12));
var staticMember = foo.bar.staticMember;
expect(staticMember(), equals(0));
expect(staticMember(0), equals(2));
- expect(staticMember(0,0), equals(4));
- expect(staticMember(0,0,0,0,0,0), equals(12));
+ expect(staticMember(0, 0), equals(4));
+ expect(staticMember(0, 0, 0, 0, 0, 0), equals(12));
});
test('static dynamicStatic', () {
expect(foo.bar.dynamicStatic(), equals(0));
expect(foo.bar.dynamicStatic(0), equals(1));
- expect(foo.bar.dynamicStatic(0,0), equals(2));
- expect(foo.bar.dynamicStatic(0,0,0,0,0,0), equals(6));
+ expect(foo.bar.dynamicStatic(0, 0), equals(2));
+ expect(foo.bar.dynamicStatic(0, 0, 0, 0, 0, 0), equals(6));
var dynamicStatic = foo.bar.dynamicStatic;
expect(dynamicStatic(), equals(0));
expect(dynamicStatic(0), equals(1));
- expect(dynamicStatic(0,0), equals(2));
- expect(dynamicStatic(0,0,0,0,0,0), equals(6));
+ expect(dynamicStatic(0, 0), equals(2));
+ expect(dynamicStatic(0, 0, 0, 0, 0, 0), equals(6));
});
test('typedef function', () {
- expect(foo.bar.add(4,5), equals(9));
+ expect(foo.bar.add(4, 5), equals(9));
});
});
}

Powered by Google App Engine
This is Rietveld 408576698