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

Unified Diff: tracing/tracing/model/event_set_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/event_set.html ('k') | tracing/tracing/model/flow_event.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/model/event_set_test.html
diff --git a/tracing/tracing/model/event_set_test.html b/tracing/tracing/model/event_set_test.html
index 56935a6d43028c64894b89a5ee674ddf12edb294..a37b4d052f48e92ac046894b27a9b7856d578225 100644
--- a/tracing/tracing/model/event_set_test.html
+++ b/tracing/tracing/model/event_set_test.html
@@ -79,8 +79,9 @@ tr.b.unittest.testSuite(function() {
var eventSet = new tr.model.EventSet([{guid: 1}, {guid: 2}, {guid: 3}]);
var expectedId = 1;
- for (var event of eventSet)
+ for (var event of eventSet) {
assert.equal(event.guid, expectedId++);
+ }
});
test('uniqueContents', function() {
@@ -195,8 +196,9 @@ tr.b.unittest.testSuite(function() {
assert.sameMembers(eventsByBaseType.slice.toArray(), [a, b]);
assert.sameMembers(eventsByBaseType.asyncSlice.toArray(), [c]);
for (var baseType in eventsByBaseType) {
- if (baseType !== 'slice' && baseType !== 'asyncSlice')
+ if (baseType !== 'slice' && baseType !== 'asyncSlice') {
assert.equal(0, eventsByBaseType[baseType].length);
+ }
}
});
« no previous file with comments | « tracing/tracing/model/event_set.html ('k') | tracing/tracing/model/flow_event.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698