Skip to content

Commit 9bb0852

Browse files
aduh95danielleadams
authored andcommitted
test: add trailing commas in test/known_issues
PR-URL: #46408 Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
1 parent 231f0ee commit 9bb0852

11 files changed

+14
-15
lines changed

test/.eslintrc.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ overrides:
7575
- es-module/*.js
7676
- es-module/*.mjs
7777
- js-native-api/*/*.js
78-
- known_issues/*.js
7978
- parallel/*.js
8079
- parallel/*.mjs
8180
- pummel/*.js

test/known_issues/test-dgram-bind-shared-ports-after-port-0.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,6 @@ if (cluster.isPrimary) {
5151
socket1.on('error', PRT1 === 0 ? () => {} : assert.fail);
5252
socket1.bind(
5353
{ address: common.localhostIPv4, port: PRT1, exclusive: false },
54-
() => process.send({ message: 'success', port1: socket1.address().port })
54+
() => process.send({ message: 'success', port1: socket1.address().port }),
5555
);
5656
}

test/known_issues/test-http-path-contains-unicode.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ server.listen(0, () => {
2626
http.request({
2727
port: server.address().port,
2828
path: expected,
29-
method: 'GET'
29+
method: 'GET',
3030
}, common.mustCall(function(res) {
3131
res.resume();
3232
})).on('error', function(e) {

test/known_issues/test-repl-require-context.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const fixture = path('is-object.js');
1111
const r = repl.start({
1212
input: inputStream,
1313
output: outputStream,
14-
useGlobal: false
14+
useGlobal: false,
1515
});
1616

1717
let output = '';

test/known_issues/test-stdin-is-always-net.socket.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ if (process.argv[2] === 'child') {
1414
const proc = spawn(
1515
process.execPath,
1616
[__filename, 'child'],
17-
{ stdio: 'ignore' }
17+
{ stdio: 'ignore' },
1818
);
1919
// To double-check this test, set stdio to 'pipe' and uncomment the line below.
2020
// proc.stderr.pipe(process.stderr);

test/known_issues/test-url-parse-conformance.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const url = require('url');
66
const assert = require('assert');
77
const fixtures = require('../common/fixtures');
88
const tests = require(
9-
fixtures.path('wpt', 'url', 'resources', 'urltestdata.json')
9+
fixtures.path('wpt', 'url', 'resources', 'urltestdata.json'),
1010
);
1111

1212
let failed = 0;

test/known_issues/test-vm-ownkeys.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const sym1 = Symbol('1');
88
const sym2 = Symbol('2');
99
const sandbox = {
1010
a: true,
11-
[sym1]: true
11+
[sym1]: true,
1212
};
1313
Object.defineProperty(sandbox, 'b', { value: true });
1414
Object.defineProperty(sandbox, sym2, { value: true });

test/known_issues/test-vm-ownpropertynames.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const sym1 = Symbol('1');
88
const sym2 = Symbol('2');
99
const sandbox = {
1010
a: true,
11-
[sym1]: true
11+
[sym1]: true,
1212
};
1313
Object.defineProperty(sandbox, 'b', { value: true });
1414
Object.defineProperty(sandbox, sym2, { value: true });

test/known_issues/test-vm-ownpropertysymbols.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const sym1 = Symbol('1');
88
const sym2 = Symbol('2');
99
const sandbox = {
1010
a: true,
11-
[sym1]: true
11+
[sym1]: true,
1212
};
1313
Object.defineProperty(sandbox, 'b', { value: true });
1414
Object.defineProperty(sandbox, sym2, { value: true });

test/known_issues/test-vm-timeout-escape-nexttick.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@ for (let i = 0; i < 4; i++) {
3636
{
3737
hrtime,
3838
nextTick,
39-
loop
39+
loop,
4040
},
41-
{ timeout: common.platformTimeout(10) }
41+
{ timeout: common.platformTimeout(10) },
4242
);
4343
}, {
44-
code: 'ERR_SCRIPT_EXECUTION_TIMEOUT'
44+
code: 'ERR_SCRIPT_EXECUTION_TIMEOUT',
4545
});
4646
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy