Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(73)

Unified Diff: pkg/polymer/test/build/linter_test.dart

Issue 370423002: Hide linter warning for auto-binding-dart. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 ef05428037835abb486799ba1eb191b6331be2f5..3bff05c36b7df6a0ae1d8144272397947fc2f264 100644
--- a/pkg/polymer/test/build/linter_test.dart
+++ b/pkg/polymer/test/build/linter_test.dart
@@ -515,6 +515,10 @@ void main() {
'warning: definition for Polymer element with tag name "x-foo" not '
'found. (lib/test.html 0 0)'
]);
+
+ _testLinter('tag exists (internally defined in code)', {
+ 'a|lib/test.html': '<div is="auto-binding-dart"></div>',
+ }, []);
_testLinter('used correctly (no base tag)', {
'a|lib/test.html': '''
« pkg/polymer/lib/src/build/linter.dart ('K') | « pkg/polymer/lib/src/build/linter.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698