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

Unified Diff: tracing/tracing/base/quad_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/base/quad_test.html
diff --git a/tracing/tracing/base/quad_test.html b/tracing/tracing/base/quad_test.html
index 289addef279f12f26527fef169c09c111ce12618..c29c47ea979da30d5c8796a37ae1b1dc8d57a915 100644
--- a/tracing/tracing/base/quad_test.html
+++ b/tracing/tracing/base/quad_test.html
@@ -15,8 +15,7 @@ function assertQuadEquals(a, b, opt_message) {
ok &= a.p2[0] === b.p2[0] && a.p2[1] === b.p2[1];
ok &= a.p3[0] === b.p3[0] && a.p3[1] === b.p3[1];
ok &= a.p4[0] === b.p4[0] && a.p4[1] === b.p4[1];
- if (ok)
- return;
+ if (ok) return;
var message = opt_message || 'Expected "' + a.toString() +
'", got "' + b.toString() + '"';
assert.fail(a, b, message);

Powered by Google App Engine
This is Rietveld 408576698