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

Unified Diff: tests/lib/convert/html_escape_test.dart

Issue 1084473003: Make HtmlEscape escape '/' again in UNKNOWN mode. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 8 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
« sdk/lib/convert/html_escape.dart ('K') | « sdk/lib/convert/html_escape.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/lib/convert/html_escape_test.dart
diff --git a/tests/lib/convert/html_escape_test.dart b/tests/lib/convert/html_escape_test.dart
index 787ae345269aff1473afa17a7849ebebe5a8b83e..a4596dc1fa8cd024693a876f35006a3865b92f90 100644
--- a/tests/lib/convert/html_escape_test.dart
+++ b/tests/lib/convert/html_escape_test.dart
@@ -10,8 +10,8 @@ const _NOOP = 'Nothing_to_escape';
const _TEST_INPUT = """<A </test> of \xA0 "double" & 'single' values>""";
-const _OUTPUT_UNKNOWN = '&lt;A &lt;/test&gt; of \xA0 &quot;double&quot; &amp; '
- '&#39;single&#39; values&gt;';
+const _OUTPUT_UNKNOWN = '&lt;A &lt;&#46;test&gt; of \xA0 &quot;double&quot; '
+ '&amp; &#39;single&#39; values&gt;';
const _OUTPUT_ATTRIBUTE =
"<A </test> of \xA0 &quot;double&quot; &amp; 'single' values>";
@@ -48,8 +48,7 @@ void _testConvert(HtmlEscape escape, String input, String expected) {
void _testTransform(HtmlEscape escape, String input, String expected) {
var controller = new StreamController(sync: true);
- var stream = controller.stream
- .transform(escape);
+ var stream = controller.stream.transform(escape);
var done = false;
int count = 0;
« sdk/lib/convert/html_escape.dart ('K') | « sdk/lib/convert/html_escape.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698