| Index: test/codegen/expect/lib/html/uri_test.js
|
| diff --git a/test/codegen/expect/lib/html/uri_test.js b/test/codegen/expect/lib/html/uri_test.js
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..a2e22d7c7a7e334b68667d4d13907d34405aa2b6
|
| --- /dev/null
|
| +++ b/test/codegen/expect/lib/html/uri_test.js
|
| @@ -0,0 +1,25 @@
|
| +dart_library.library('lib/html/uri_test', null, /* Imports */[
|
| + 'dart_sdk',
|
| + 'unittest'
|
| +], function load__uri_test(exports, dart_sdk, unittest) {
|
| + 'use strict';
|
| + const core = dart_sdk.core;
|
| + const html = dart_sdk.html;
|
| + 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 uri_test = Object.create(null);
|
| + let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.definiteFunctionType(dart.dynamic, [])))();
|
| + uri_test.main = function() {
|
| + html_config.useHtmlConfiguration();
|
| + unittest$.test('Uri.base', dart.fn(() => {
|
| + src__matcher__expect.expect(core.Uri.base.scheme, "http");
|
| + src__matcher__expect.expect(dart.toString(core.Uri.base), html.window[dartx.location][dartx.href]);
|
| + }, VoidTodynamic()));
|
| + };
|
| + dart.fn(uri_test.main, VoidTodynamic());
|
| + // Exports:
|
| + exports.uri_test = uri_test;
|
| +});
|
|
|