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

Unified Diff: tracing/tracing/model/resource_usage_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/resource_usage_series.html ('k') | tracing/tracing/model/selectable_item.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/model/resource_usage_series_test.html
diff --git a/tracing/tracing/model/resource_usage_series_test.html b/tracing/tracing/model/resource_usage_series_test.html
index ee6a567e188ea6c82e45244d177ce6e039195692..25986facf61a381e3177659ac7b463f0f5c7c63e 100644
--- a/tracing/tracing/model/resource_usage_series_test.html
+++ b/tracing/tracing/model/resource_usage_series_test.html
@@ -131,8 +131,9 @@ tr.b.unittest.testSuite(function() {
test('childEvents_empty', function() {
var series = new ResourceUsageSeries(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.addUsageSample(0, 1);
var sample2 = series.addUsageSample(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/resource_usage_series.html ('k') | tracing/tracing/model/selectable_item.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698