Index: tracing/tracing/value/ui/scalar_context_controller_test.html |
diff --git a/tracing/tracing/value/ui/scalar_context_controller_test.html b/tracing/tracing/value/ui/scalar_context_controller_test.html |
index 3f5ead96dbb65001641b56cd76f3f79cdc4713ef..1122c47300497900996522d5a8a73b75f7418d71 100644 |
--- a/tracing/tracing/value/ui/scalar_context_controller_test.html |
+++ b/tracing/tracing/value/ui/scalar_context_controller_test.html |
@@ -177,8 +177,9 @@ tr.b.unittest.testSuite(function() { |
let updatedGroups = []; // Fail if event fires unexpectedly. |
c.addEventListener('context-updated', function(e) { |
- if (updatedGroups) |
+ if (updatedGroups) { |
assert.fail('Unexpected context-updated event fired.'); |
+ } |
updatedGroups = tr.b.asArray(e.groups); |
}); |