jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/327930 )

Change subject: Fix eslint error
......................................................................


Fix eslint error

https://integration.wikimedia.org/ci/job/npm-node-4/20514/console
09:43:16 Running "eslint:main" (eslint) task
09:43:28 
09:43:28 
/home/jenkins/workspace/npm-node-4/tests/qunit/translation/ext.cx.translation.loader.test.js
09:43:28   16:3  error  Expected indentation of 1 tab but found 2   indent
09:43:28   17:4  error  Expected indentation of 2 tabs but found 3  indent
09:43:28   18:4  error  Expected indentation of 2 tabs but found 3  indent
09:43:28   19:4  error  Expected indentation of 2 tabs but found 3  indent
09:43:28   20:4  error  Expected indentation of 2 tabs but found 3  indent
09:43:28   21:4  error  Expected indentation of 2 tabs but found 3  indent
09:43:28   22:3  error  Expected indentation of 1 tab but found 2   indent
09:43:28   23:3  error  Expected indentation of 1 tab but found 2   indent
09:43:28   24:4  error  Expected indentation of 2 tabs but found 3  indent
09:43:28   25:4  error  Expected indentation of 2 tabs but found 3  indent
09:43:28   26:4  error  Expected indentation of 2 tabs but found 3  indent
09:43:28   27:4  error  Expected indentation of 2 tabs but found 3  indent
09:43:28   28:4  error  Expected indentation of 2 tabs but found 3  indent
09:43:28   29:3  error  Expected indentation of 1 tab but found 2   indent
09:43:28   30:3  error  Expected indentation of 1 tab but found 2   indent
09:43:28   31:4  error  Expected indentation of 2 tabs but found 3  indent
09:43:28   32:4  error  Expected indentation of 2 tabs but found 3  indent
09:43:28   33:4  error  Expected indentation of 2 tabs but found 3  indent
09:43:28   34:4  error  Expected indentation of 2 tabs but found 3  indent
09:43:28   35:4  error  Expected indentation of 2 tabs but found 3  indent
09:43:28   36:3  error  Expected indentation of 1 tab but found 2   indent
09:43:28   37:3  error  Expected indentation of 1 tab but found 2   indent
09:43:28   38:4  error  Expected indentation of 2 tabs but found 3  indent
09:43:28   39:4  error  Expected indentation of 2 tabs but found 3  indent
09:43:28   40:4  error  Expected indentation of 2 tabs but found 3  indent
09:43:28   41:4  error  Expected indentation of 2 tabs but found 3  indent
09:43:28   42:4  error  Expected indentation of 2 tabs but found 3  indent
09:43:28   43:3  error  Expected indentation of 1 tab but found 2   indent
09:43:28 
09:43:28 ✖ 28 problems (28 errors, 0 warnings)

Change-Id: I08e65de879b6016b65ad5bca76b77893e65a2491
---
M tests/qunit/translation/ext.cx.translation.loader.test.js
1 file changed, 8 insertions(+), 7 deletions(-)

Approvals:
  Reedy: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/tests/qunit/translation/ext.cx.translation.loader.test.js 
b/tests/qunit/translation/ext.cx.translation.loader.test.js
index 3f4fe8b..ddd93a7 100644
--- a/tests/qunit/translation/ext.cx.translation.loader.test.js
+++ b/tests/qunit/translation/ext.cx.translation.loader.test.js
@@ -6,13 +6,14 @@
 ( function ( $, mw ) {
        'use strict';
 
-       var tests = [ {
-               description: 'All ids of source and draft match perfectly',
-               source: '<div><p id="mw1">Paragraph 1</p></div>',
-               placeholders: '<div><div id="cxmw1" data-source="mw1" 
class="placeholder"></div></div>',
-               draft: '<p id="cxmw1">PARAGRAPH 1</p>',
-               translation: '<p id="cxmw1" data-cx-draft="true" 
data-source="mw1">PARAGRAPH 1</p>'
-       },
+       var tests = [
+               {
+                       description: 'All ids of source and draft match 
perfectly',
+                       source: '<div><p id="mw1">Paragraph 1</p></div>',
+                       placeholders: '<div><div id="cxmw1" data-source="mw1" 
class="placeholder"></div></div>',
+                       draft: '<p id="cxmw1">PARAGRAPH 1</p>',
+                       translation: '<p id="cxmw1" data-cx-draft="true" 
data-source="mw1">PARAGRAPH 1</p>'
+               },
                {
                        description: 'All ids of source and draft match 
perfectly, Restoring old draft using sequence ids',
                        source: '<div><p id="mw1" data-seqid="1">Paragraph 
1</p></div>',

-- 
To view, visit https://gerrit.wikimedia.org/r/327930
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I08e65de879b6016b65ad5bca76b77893e65a2491
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/ContentTranslation
Gerrit-Branch: master
Gerrit-Owner: Umherirrender <[email protected]>
Gerrit-Reviewer: Reedy <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to