| 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 c08e5dfbfca2f922c2116317a94f27c842cf5cbf..89e226377c4bb9a8c2ce1d598aa6f197c33d08e3 100644
|
| --- a/pkg/polymer/test/build/linter_test.dart
|
| +++ b/pkg/polymer/test/build/linter_test.dart
|
| @@ -477,13 +477,17 @@ void main() {
|
| 'a|lib/test.html': '''<html><body>
|
| <template is="auto-binding-dart">
|
| <div on-foo="{{something}}"></div>
|
| + <template>
|
| + <div>foo</div>
|
| + </template>
|
| + <div on-foo="{{something}}"></div>
|
| </template>
|
| '''.replaceAll(' ', ''),
|
| }, []);
|
|
|
| _testLinter('on-foo is only supported in polymer elements', {
|
| 'a|lib/test.html': '''<html><body>
|
| - <div on-foo="something"></div>
|
| + <div on-foo="{{something}}"></div>
|
| '''.replaceAll(' ', ''),
|
| }, [
|
| 'warning: ${EVENT_HANDLERS_ONLY_WITHIN_POLYMER.snippet} '
|
|
|