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

Unified Diff: test/dart_codegen/expect/convert/html_escape.dart

Issue 959073002: Fix new line breaks on } (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « test/dart_codegen/expect/convert/ascii.dart ('k') | test/dart_codegen/expect/convert/json.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/dart_codegen/expect/convert/html_escape.dart
diff --git a/test/dart_codegen/expect/convert/html_escape.dart b/test/dart_codegen/expect/convert/html_escape.dart
index 6ae348bcd000938aa1fcc6dbc7912aea5ced802f..54889a403479d5f09b778b359970781b569d57c4 100644
--- a/test/dart_codegen/expect/convert/html_escape.dart
+++ b/test/dart_codegen/expect/convert/html_escape.dart
@@ -19,9 +19,7 @@ var val = _convert(text, 0, text.length);
}
String _convert(String text, int start, int end) {
StringBuffer result = null;
- for (int i = start;
- i < end;
- i++) {
+ for (int i = start; i < end; i++) {
var ch = text[i];
String replace = null;
switch (ch) {case '&': replace = '&amp;';
« no previous file with comments | « test/dart_codegen/expect/convert/ascii.dart ('k') | test/dart_codegen/expect/convert/json.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698