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

Unified Diff: tracing/tracing/value/ui/scalar_context_controller_test.html

Issue 2776653002: [ESLint] Fix violations when enabling curly rule in eslint. (Closed)
Patch Set: Fix test 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
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 245b5bcb1e5d64f6ab14c23061a93b0bc72de42f..49a5db4665c9f8f8a4848f968833f76be6b284a0 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);
});

Powered by Google App Engine
This is Rietveld 408576698