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

Unified Diff: tracing/tracing/model/slice_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
« no previous file with comments | « tracing/tracing/model/slice_group_test.html ('k') | tracing/tracing/model/source_info/source_info.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/model/slice_test.html
diff --git a/tracing/tracing/model/slice_test.html b/tracing/tracing/model/slice_test.html
index 64cfba6e4c224cb560fcfa7f77555f67f251e72b..b7d1308fa7f3c196a6ef597ac7a36dfa18733c5b 100644
--- a/tracing/tracing/model/slice_test.html
+++ b/tracing/tracing/model/slice_test.html
@@ -47,8 +47,9 @@ tr.b.unittest.testSuite(function() {
group.createSubSlices();
var foundSlices = [];
- for (var slice of sC1.findTopmostSlicesRelativeToThisSlice(PREDICATE))
+ for (var slice of sC1.findTopmostSlicesRelativeToThisSlice(PREDICATE)) {
foundSlices.push(slice);
+ }
assert.deepEqual([sC1], foundSlices);
});
@@ -68,8 +69,9 @@ tr.b.unittest.testSuite(function() {
group.createSubSlices();
var foundSlices = [];
- for (var slice of sD.findTopmostSlicesRelativeToThisSlice(PREDICATE))
+ for (var slice of sD.findTopmostSlicesRelativeToThisSlice(PREDICATE)) {
foundSlices.push(slice);
+ }
assert.deepEqual([sC1, sC2], foundSlices);
});
« no previous file with comments | « tracing/tracing/model/slice_group_test.html ('k') | tracing/tracing/model/source_info/source_info.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698