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

Unified Diff: tests/lib_strong/html/js_function_getter_trust_types_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_trust_types_test.dart
diff --git a/tests/lib_strong/html/js_function_getter_trust_types_test.dart b/tests/lib_strong/html/js_function_getter_trust_types_test.dart
index 3e94b503a46fc3092ef481f3d707ac0856098ea0..c5c14199d6bb56401502f286bf74dce8423507bc 100644
--- a/tests/lib_strong/html/js_function_getter_trust_types_test.dart
+++ b/tests/lib_strong/html/js_function_getter_trust_types_test.dart
@@ -34,7 +34,7 @@ _injectJs() {
typedef int AddFn(int x, int y);
@JS()
-class NotAFn { }
+class NotAFn {}
@JS()
abstract class Bar {
@@ -59,14 +59,14 @@ main() {
test('static nonFunctionStatic', () {
expect(() => foo.bar.nonFunctionStatic(), throws);
expect(() => foo.bar.nonFunctionStatic(0), throws);
- expect(() => foo.bar.nonFunctionStatic(0,0), throws);
- expect(() => foo.bar.nonFunctionStatic(0,0,0,0,0,0), throws);
+ expect(() => foo.bar.nonFunctionStatic(0, 0), throws);
+ expect(() => foo.bar.nonFunctionStatic(0, 0, 0, 0, 0, 0), throws);
});
test('typedef function', () {
expect(() => foo.bar.add(4), throws);
- expect(() => foo.bar.add(4,5,10), throws);
- expect(foo.bar.add(4,5), equals(9));
+ expect(() => foo.bar.add(4, 5, 10), throws);
+ expect(foo.bar.add(4, 5), equals(9));
});
});
}

Powered by Google App Engine
This is Rietveld 408576698