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 cae4b6faef044cc14cff0f461f88497552dc73be..1f8bd06f25e02f246ea9ec39d8ef58cc57e8fef4 100644 |
--- a/tests/lib_strong/html/js_typed_interop_test.dart |
+++ b/tests/lib_strong/html/js_typed_interop_test.dart |
@@ -316,8 +316,9 @@ main() { |
test('call from js', () { |
localClosure(x) => x * 10; |
var wrappedLocalClosure = allowInterop(localClosure); |
+ var wrappedLocalClosure2 = allowInterop(localClosure); |
expect( |
- identical(allowInterop(localClosure), wrappedLocalClosure), isTrue); |
+ identical(wrappedLocalClosure2, wrappedLocalClosure), isTrue); |
expect(foo.callClosureWithArg1(wrappedLocalClosure, 10), equals(100)); |
expect(foo.callClosureWithArg1(wrappedLocalClosure, "a"), |
equals("aaaaaaaaaa")); |