| Index: pkg/polymer/test/build/linter_test.dart
|
| diff --git a/pkg/polymer/test/build/linter_test.dart b/pkg/polymer/test/build/linter_test.dart
|
| index 71e0b414daa337d4857a310ed0c9862f8a1922fe..0ad19a0a38d76ccb2c33defbce2d327af8c0fbfc 100644
|
| --- a/pkg/polymer/test/build/linter_test.dart
|
| +++ b/pkg/polymer/test/build/linter_test.dart
|
| @@ -152,6 +152,21 @@ void main() {
|
| }, [
|
| 'warning: ${MISSING_INIT_POLYMER.snippet}',
|
| ]);
|
| +
|
| + _testLinter('dart_support unnecessary', {
|
| + 'a|web/test.html': '<!DOCTYPE html><html>'
|
| + '<script src="packages/web_components/dart_support.js"></script>'
|
| + '<link rel="import" href="../../packages/polymer/polymer.html">'
|
| + '<polymer-element name="x-a"></polymer-element>'
|
| + '<script type="application/dart" src="foo.dart">'
|
| + '</script>'
|
| + '<script src="packages/browser/dart.js"></script>'
|
| + '</html>',
|
| + }, [
|
| + 'warning: ${DART_SUPPORT_NO_LONGER_REQUIRED.snippet} '
|
| + '(web/test.html 0 21)'
|
| + ]);
|
| +
|
| });
|
|
|
| group('single script tag per document', () {
|
|
|