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

Unified Diff: tracing/tracing/ui/base/ui_state_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/ui/base/ui_state_test.html
diff --git a/tracing/tracing/ui/base/ui_state_test.html b/tracing/tracing/ui/base/ui_state_test.html
index 91ee74eda1ad55a81d701480ee2e2cd3244cbed6..cf2e4d96716e6ce7311ec7ed5d788bfb6d4b14e8 100644
--- a/tracing/tracing/ui/base/ui_state_test.html
+++ b/tracing/tracing/ui/base/ui_state_test.html
@@ -6,8 +6,8 @@ found in the LICENSE file.
-->
<link rel="import" href="/tracing/core/test_utils.html">
-<link rel="import" href="/tracing/ui/tracks/track.html">
<link rel="import" href="/tracing/ui/base/ui_state.html">
+<link rel="import" href="/tracing/ui/tracks/track.html">
<script>
'use strict';
@@ -42,8 +42,9 @@ tr.b.unittest.testSuite(function() {
this.containerToTrackMap = {
// "1.2" is the only valid stableId this test function accepts.
getTrackByStableId: function(stableId) {
- if (stableId === '1.2')
+ if (stableId === '1.2') {
return new FakeTrack;
+ }
return undefined;
}
};

Powered by Google App Engine
This is Rietveld 408576698