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

Unified Diff: tracing/tracing/model/device_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/device.html ('k') | tracing/tracing/model/event.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/model/device_test.html
diff --git a/tracing/tracing/model/device_test.html b/tracing/tracing/model/device_test.html
index 0bfbe905d50c5d2d3f549db25527c9d2f40f6881..887a4032cb017b064c57e1d9e079ba4db0ede6f2 100644
--- a/tracing/tracing/model/device_test.html
+++ b/tracing/tracing/model/device_test.html
@@ -52,8 +52,9 @@ tr.b.unittest.testSuite(function() {
test('childEventContainers_noPowerSeries', function() {
var device = new Device(new Model());
var childEventContainers = [];
- for (var container of device.childEventContainers())
+ for (var container of device.childEventContainers()) {
childEventContainers.push(container);
+ }
assert.deepEqual(childEventContainers, []);
});
@@ -61,8 +62,9 @@ tr.b.unittest.testSuite(function() {
var device = new Device(new Model());
device.powerSeries = new PowerSeries(device);
var childEventContainers = [];
- for (var container of device.childEventContainers())
+ for (var container of device.childEventContainers()) {
childEventContainers.push(container);
+ }
assert.deepEqual(childEventContainers, [device.powerSeries]);
});
});
« no previous file with comments | « tracing/tracing/model/device.html ('k') | tracing/tracing/model/event.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698