| Index: pkg/polymer/test/build/polyfill_injector_test.dart
|
| diff --git a/pkg/polymer/test/build/polyfill_injector_test.dart b/pkg/polymer/test/build/polyfill_injector_test.dart
|
| index 43a5ad23437ace0eb948df2b24842a7a1f22ead3..84af1c7dc956d09f262bfc59765748b439f79c03 100644
|
| --- a/pkg/polymer/test/build/polyfill_injector_test.dart
|
| +++ b/pkg/polymer/test/build/polyfill_injector_test.dart
|
| @@ -73,4 +73,21 @@ void runTests({bool js: true}) {
|
| '$dartJsTag'
|
| '</body></html>',
|
| });
|
| +
|
| + var noPlatformPhases = [[new PolyfillInjector(new TransformOptions(
|
| + directlyIncludeJS: js, injectPlatformJs: false))]];
|
| +
|
| + testPhases('with no platform.js', noPlatformPhases, {
|
| + 'a|web/test.html':
|
| + '<!DOCTYPE html><html><head></head><body>'
|
| + '<script type="application/dart" src="a.dart"></script>',
|
| + }, {
|
| + 'a|web/test.html':
|
| + '<!DOCTYPE html><html><head>'
|
| + '$DART_SUPPORT_TAG'
|
| + '</head><body>'
|
| + '<script ${type}src="a.dart$ext"$async></script>'
|
| + '$dartJsTag'
|
| + '</body></html>',
|
| + });
|
| }
|
|
|