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]); |
}); |
}); |