mirror of
https://github.com/nodejs/node.git
synced 2025-08-16 06:08:50 +02:00
tools: add 'spaced-comment' into eslint rules
PR-URL: https://github.com/nodejs/node/pull/19596 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
This commit is contained in:
parent
f89f79893d
commit
254058109f
59 changed files with 169 additions and 193 deletions
|
@ -132,7 +132,7 @@ assert.throws(function() {
|
|||
// If length can be converted to a number, it will be.
|
||||
assert.deepStrictEqual(Buffer.from(ab, 0, [1]), Buffer.from(ab, 0, 1));
|
||||
|
||||
//If length is Infinity, throw.
|
||||
// If length is Infinity, throw.
|
||||
common.expectsError(() => {
|
||||
Buffer.from(ab, 0, Infinity);
|
||||
}, {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue