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

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: 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/value/ui/scalar_context_controller.html ('k') | tracing/tracing/value/ui/scalar_span.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
});
« no previous file with comments | « tracing/tracing/value/ui/scalar_context_controller.html ('k') | tracing/tracing/value/ui/scalar_span.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698