| Index: tests/html/js_function_getter_trust_types_test.dart
|
| diff --git a/tests/html/js_function_getter_trust_types_test.dart b/tests/html/js_function_getter_trust_types_test.dart
|
| index 3e94b503a46fc3092ef481f3d707ac0856098ea0..c5c14199d6bb56401502f286bf74dce8423507bc 100644
|
| --- a/tests/html/js_function_getter_trust_types_test.dart
|
| +++ b/tests/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));
|
| });
|
| });
|
| }
|
|
|