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

Unified Diff: tracing/tracing/model/power_series_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/power_series.html ('k') | tracing/tracing/model/process.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/model/power_series_test.html
diff --git a/tracing/tracing/model/power_series_test.html b/tracing/tracing/model/power_series_test.html
index ffa035e9a947aa0d1a07af14532c58351d8361a3..c4c314db9b9282a41e3332ad89ce8c98c08fec1d 100644
--- a/tracing/tracing/model/power_series_test.html
+++ b/tracing/tracing/model/power_series_test.html
@@ -131,8 +131,9 @@ tr.b.unittest.testSuite(function() {
test('childEvents_empty', function() {
var series = new PowerSeries(new Model().device);
var eventsInSeries = [];
- for (var event of series.childEvents())
+ for (var event of series.childEvents()) {
eventsInSeries.push(event);
+ }
assert.deepEqual(eventsInSeries, []);
});
@@ -141,8 +142,9 @@ tr.b.unittest.testSuite(function() {
var sample1 = series.addPowerSample(0, 1);
var sample2 = series.addPowerSample(1, 2);
var eventsInSeries = [];
- for (var event of series.childEvents())
+ for (var event of series.childEvents()) {
eventsInSeries.push(event);
+ }
assert.deepEqual(eventsInSeries, [sample1, sample2]);
});
});
« no previous file with comments | « tracing/tracing/model/power_series.html ('k') | tracing/tracing/model/process.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698