Index: test/codegen/expect/lib/html/js_typed_interop_anonymous_exp_test.js |
diff --git a/test/codegen/expect/lib/html/js_typed_interop_anonymous_exp_test.js b/test/codegen/expect/lib/html/js_typed_interop_anonymous_exp_test.js |
new file mode 100644 |
index 0000000000000000000000000000000000000000..7ca718f651d2c170e82070c740796735ef1f32ce |
--- /dev/null |
+++ b/test/codegen/expect/lib/html/js_typed_interop_anonymous_exp_test.js |
@@ -0,0 +1,27 @@ |
+dart_library.library('lib/html/js_typed_interop_anonymous_exp_test', null, /* Imports */[ |
+ 'dart_sdk', |
+ 'unittest' |
+], function load__js_typed_interop_anonymous_exp_test(exports, dart_sdk, unittest) { |
+ 'use strict'; |
+ const core = dart_sdk.core; |
+ const dart = dart_sdk.dart; |
+ const dartx = dart_sdk.dartx; |
+ const html_config = unittest.html_config; |
+ const unittest$ = unittest.unittest; |
+ const src__matcher__expect = unittest.src__matcher__expect; |
+ const src__matcher__core_matchers = unittest.src__matcher__core_matchers; |
+ const js_typed_interop_anonymous_exp_test = Object.create(null); |
+ let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.definiteFunctionType(dart.dynamic, [])))(); |
+ js_typed_interop_anonymous_exp_test.main = function() { |
+ html_config.useHtmlConfiguration(); |
+ unittest$.test('simple', dart.fn(() => { |
+ let l = {x: 3, y: "foo"}; |
+ src__matcher__expect.expect(l.x, src__matcher__core_matchers.equals(3)); |
+ src__matcher__expect.expect(l.y, src__matcher__core_matchers.equals("foo")); |
+ src__matcher__expect.expect(l.z, src__matcher__core_matchers.isNull); |
+ }, VoidTodynamic())); |
+ }; |
+ dart.fn(js_typed_interop_anonymous_exp_test.main, VoidTodynamic()); |
+ // Exports: |
+ exports.js_typed_interop_anonymous_exp_test = js_typed_interop_anonymous_exp_test; |
+}); |