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

Unified Diff: tracing/tracing/ui/extras/side_panel/input_latency_side_panel_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/ui/extras/side_panel/input_latency_side_panel_test.html
diff --git a/tracing/tracing/ui/extras/side_panel/input_latency_side_panel_test.html b/tracing/tracing/ui/extras/side_panel/input_latency_side_panel_test.html
index b6710d7317bb917f30df6235657fea3712030a50..fd0107f21556d0f81cdcaf08ee245b4ec7421221 100644
--- a/tracing/tracing/ui/extras/side_panel/input_latency_side_panel_test.html
+++ b/tracing/tracing/ui/extras/side_panel/input_latency_side_panel_test.html
@@ -131,8 +131,9 @@ tr.b.unittest.testSuite(function() {
assert.equal(e.selection.length, 3);
var predictedStarts = [20, 31, 40];
var i = 0;
- for (var event of e.selection)
+ for (var event of e.selection) {
assert.equal(event.start, predictedStarts[i++]);
+ }
}
panel.ownerDocument.addEventListener('requestSelectionChange', listener);
try {

Powered by Google App Engine
This is Rietveld 408576698