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

Unified Diff: tests/lib_strong/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/lib_strong/html/js_function_getter_test.dart
diff --git a/tests/lib_strong/html/js_function_getter_test.dart b/tests/lib_strong/html/js_function_getter_test.dart
index 400120956c77b1f92a3ce302d31e2879425ad3de..e3715d7a7e2822476c5ecc7a9c21f9e04551b872 100644
--- a/tests/lib_strong/html/js_function_getter_test.dart
+++ b/tests/lib_strong/html/js_function_getter_test.dart
@@ -65,41 +65,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