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

Unified Diff: tracing/tracing/extras/importer/trace2html_importer_test.html

Issue 2776653002: [ESLint] Fix violations when enabling curly rule in eslint. (Closed)
Patch Set: rebase Created 3 years, 9 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: tracing/tracing/extras/importer/trace2html_importer_test.html
diff --git a/tracing/tracing/extras/importer/trace2html_importer_test.html b/tracing/tracing/extras/importer/trace2html_importer_test.html
index 26eb0e4c87bfc32f4b3cf0660715414a53cecaa0..78d934b353de716f2a0b1124b975a1ab94c71f26 100644
--- a/tracing/tracing/extras/importer/trace2html_importer_test.html
+++ b/tracing/tracing/extras/importer/trace2html_importer_test.html
@@ -34,8 +34,9 @@ tr.b.unittest.testSuite(function() {
var subTracesAsStrings = subTracesAsBuffers.map(function(buffer) {
var str = '';
var ary = new Uint8Array(buffer);
- for (var i = 0; i < ary.length; i++)
+ for (var i = 0; i < ary.length; i++) {
str += String.fromCharCode(ary[i]);
+ }
return str;
});
assert.deepEqual(subTracesAsStrings, ['hello', 'world']);
« no previous file with comments | « tracing/tracing/extras/importer/trace2html_importer.html ('k') | tracing/tracing/extras/importer/trace_code_map.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698