| Index: tests/lib_strong/html/js_typed_interop_test.dart
|
| diff --git a/tests/lib_strong/html/js_typed_interop_test.dart b/tests/lib_strong/html/js_typed_interop_test.dart
|
| index 1f8bd06f25e02f246ea9ec39d8ef58cc57e8fef4..2f6194667578c38845141b6ae6ea35781abfd522 100644
|
| --- a/tests/lib_strong/html/js_typed_interop_test.dart
|
| +++ b/tests/lib_strong/html/js_typed_interop_test.dart
|
| @@ -279,13 +279,14 @@ main() {
|
| // Calling with extra bogus arguments has no impact for JavaScript
|
| // methods.
|
| expect(untypedFunction(6, 6, "ignored", "ignored"), equals(36));
|
| - expect(untypedFunction(6, 6, "ignored", 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
| - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), equals(36));
|
| + expect(
|
| + untypedFunction(6, 6, "ignored", 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
| + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
|
| + equals(36));
|
| // Calling a JavaScript method with too few arguments is also fine and
|
| // defaults to JavaScript behavior of setting all unspecified arguments
|
| // to undefined resulting in multiplying undefined by 2 == NAN.
|
| expect(untypedFunction(), double.NAN);
|
| -
|
| });
|
| });
|
|
|
| @@ -317,8 +318,7 @@ main() {
|
| localClosure(x) => x * 10;
|
| var wrappedLocalClosure = allowInterop(localClosure);
|
| var wrappedLocalClosure2 = allowInterop(localClosure);
|
| - expect(
|
| - identical(wrappedLocalClosure2, wrappedLocalClosure), isTrue);
|
| + expect(identical(wrappedLocalClosure2, wrappedLocalClosure), isTrue);
|
| expect(foo.callClosureWithArg1(wrappedLocalClosure, 10), equals(100));
|
| expect(foo.callClosureWithArg1(wrappedLocalClosure, "a"),
|
| equals("aaaaaaaaaa"));
|
|
|