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

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

Issue 114473002: fix linter on svg (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years 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
« no previous file with comments | « pkg/polymer/pubspec.yaml ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 46964bed745a847cf4e66b2a4fcdb16dc1552667..e928bbcbb31c375ce2e649c0187491a5d63df53f 100644
--- a/pkg/polymer/test/build/linter_test.dart
+++ b/pkg/polymer/test/build/linter_test.dart
@@ -501,6 +501,12 @@ void main() {
'forms are equivalent in HTML). (lib/test.html 1 28)'
});
});
+
+ _testLinter("namespaced attributes don't cause an internal error", {
+ 'a|lib/test.html': '''<html><body>
+ <svg xmlns="http://www.w3.org/2000/svg" width="520" height="350">
+ '''.replaceAll(' ', ''),
+ }, {});
Siggi Cherem (dart-lang) 2013/12/12 20:23:19 This nuance will go away in my cl (will submit sho
Jennifer Messerly 2013/12/12 20:42:02 right. the test was definitely failing before I fi
}
_testLinter(String name, Map inputFiles, Map outputMessages) {
« no previous file with comments | « pkg/polymer/pubspec.yaml ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698