diff options
author | Rich Trott <rtrott@gmail.com> | 2018-08-27 23:37:04 -0700 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2018-08-31 19:17:31 +0200 |
commit | f86d0ebc36776cdb09f5514158e783ee440f4216 (patch) | |
tree | ef493baaaaee39bb2593b9f7a85c500cc623fc0e /test/parallel/test-assert.js | |
parent | c5bd856765c78ff59cbaa47f77d7c7bbbd23f5e9 (diff) | |
download | android-node-v8-f86d0ebc36776cdb09f5514158e783ee440f4216.tar.gz android-node-v8-f86d0ebc36776cdb09f5514158e783ee440f4216.tar.bz2 android-node-v8-f86d0ebc36776cdb09f5514158e783ee440f4216.zip |
tools: specify rule disabled in test-assert.js
Instead of disabling all ESLint rules on two lines in test-assert.js,
specify the rule that needs to be disabled.
PR-URL: https://github.com/nodejs/node/pull/22563
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to 'test/parallel/test-assert.js')
-rw-r--r-- | test/parallel/test-assert.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/parallel/test-assert.js b/test/parallel/test-assert.js index 6aecfc0fe6..72ba7d2443 100644 --- a/test/parallel/test-assert.js +++ b/test/parallel/test-assert.js @@ -692,7 +692,7 @@ common.expectsError( () => { a( (() => 'string')() - // eslint-disable-next-line + // eslint-disable-next-line operator-linebreak === 123 instanceof Buffer @@ -704,7 +704,7 @@ common.expectsError( message: 'The expression evaluated to a falsy value:\n\n' + ' a(\n' + ' (() => \'string\')()\n' + - ' // eslint-disable-next-line\n' + + ' // eslint-disable-next-line operator-linebreak\n' + ' ===\n' + ' 123 instanceof\n' + ' Buffer\n' + @@ -716,7 +716,7 @@ common.expectsError( () => { a( (() => 'string')() - // eslint-disable-next-line + // eslint-disable-next-line operator-linebreak === 123 instanceof Buffer @@ -728,7 +728,7 @@ common.expectsError( message: 'The expression evaluated to a falsy value:\n\n' + ' a(\n' + ' (() => \'string\')()\n' + - ' // eslint-disable-next-line\n' + + ' // eslint-disable-next-line operator-linebreak\n' + ' ===\n' + ' 123 instanceof\n' + ' Buffer\n' + |