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

Unified Diff: tracing/tracing/model/slice_test.html

Issue 2776653002: [ESLint] Fix violations when enabling curly rule in eslint. (Closed)
Patch Set: Fix test 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/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);
});

Powered by Google App Engine
This is Rietveld 408576698