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

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

Issue 487793002: html escape log messages (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 4 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 a834f9e546801ceca2dcdb0ee65bdc87f576f129..802b288ab60d3457498cf0aec6442ea6456d716d 100644
--- a/pkg/polymer/test/build/linter_test.dart
+++ b/pkg/polymer/test/build/linter_test.dart
@@ -664,7 +664,8 @@ void main() {
'a|web/test.html._buildLogs.1':
'[{'
'"level":"Warning",'
- '"message":${JSON.encode(usePolymerHtmlMessage(0))},'
+ '"message":${JSON.encode(new HtmlEscape().convert(
kevmoo 2014/08/19 20:53:02 use the const ctor for HtmlEscape so we're not con
jakemac 2014/08/20 14:48:19 Done.
+ usePolymerHtmlMessage(0)))},'
'"span":{'
'"location":"web/test.html:2:1",'
'"text":'

Powered by Google App Engine
This is Rietveld 408576698