diff options
author | Rich Trott <rtrott@gmail.com> | 2021-03-26 08:51:08 -0700 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2021-04-01 23:14:29 -0700 |
commit | 330f25ef822dac6ed8a0afb3422bd920726eb43d (patch) | |
tree | bbf90ca3116946aba033d510364e0dbf209ae5b6 /test/internet | |
parent | f0bf37317604061dc60ebf858d6ad4dfc313dcdc (diff) | |
download | node-new-330f25ef822dac6ed8a0afb3422bd920726eb43d.tar.gz |
test: prepare for consistent comma-dangle lint rule
Make changes so that tests will pass when the comma-dangle settings
applied to the rest of the code base are also applied to tests.
PR-URL: https://github.com/nodejs/node/pull/37930
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is>
Diffstat (limited to 'test/internet')
6 files changed, 6 insertions, 6 deletions
diff --git a/test/internet/test-dgram-multicast-multi-process.js b/test/internet/test-dgram-multicast-multi-process.js index 9d2e2c9f3f..e19f8dc05b 100644 --- a/test/internet/test-dgram-multicast-multi-process.js +++ b/test/internet/test-dgram-multicast-multi-process.js @@ -35,7 +35,7 @@ const messages = [ Buffer.from('First message to send'), Buffer.from('Second message to send'), Buffer.from('Third message to send'), - Buffer.from('Fourth message to send') + Buffer.from('Fourth message to send'), ]; const workers = {}; const listeners = 3; diff --git a/test/internet/test-dgram-multicast-set-interface-lo.js b/test/internet/test-dgram-multicast-set-interface-lo.js index e06969b7b2..11c3d47cff 100644 --- a/test/internet/test-dgram-multicast-set-interface-lo.js +++ b/test/internet/test-dgram-multicast-set-interface-lo.js @@ -70,7 +70,7 @@ const messages = [ { tail: 'Fourth message to send', mcast: MULTICASTS[FAM][2] }, { tail: 'Fifth message to send', mcast: MULTICASTS[FAM][1], rcv: true }, { tail: 'Sixth message to send', mcast: MULTICASTS[FAM][2], rcv: true, - newAddr: LOOPBACK[FAM] } + newAddr: LOOPBACK[FAM] }, ]; diff --git a/test/internet/test-dgram-multicast-ssm-multi-process.js b/test/internet/test-dgram-multicast-ssm-multi-process.js index 1771a4204c..5653559e24 100644 --- a/test/internet/test-dgram-multicast-ssm-multi-process.js +++ b/test/internet/test-dgram-multicast-ssm-multi-process.js @@ -14,7 +14,7 @@ const messages = [ Buffer.from('First message to send'), Buffer.from('Second message to send'), Buffer.from('Third message to send'), - Buffer.from('Fourth message to send') + Buffer.from('Fourth message to send'), ]; const workers = {}; const listeners = 3; diff --git a/test/internet/test-dgram-multicast-ssmv6-multi-process.js b/test/internet/test-dgram-multicast-ssmv6-multi-process.js index 88bb563364..e139d93a97 100644 --- a/test/internet/test-dgram-multicast-ssmv6-multi-process.js +++ b/test/internet/test-dgram-multicast-ssmv6-multi-process.js @@ -14,7 +14,7 @@ const messages = [ Buffer.from('First message to send'), Buffer.from('Second message to send'), Buffer.from('Third message to send'), - Buffer.from('Fourth message to send') + Buffer.from('Fourth message to send'), ]; const workers = {}; const listeners = 3; diff --git a/test/internet/test-dns-cares-domains.js b/test/internet/test-dns-cares-domains.js index 6609758a7d..4a8e0eee71 100644 --- a/test/internet/test-dns-cares-domains.js +++ b/test/internet/test-dns-cares-domains.js @@ -15,7 +15,7 @@ const methods = [ 'resolveSrv', 'resolvePtr', 'resolveNaptr', - 'resolveSoa' + 'resolveSoa', ]; methods.forEach(function(method) { diff --git a/test/internet/test-trace-events-dns.js b/test/internet/test-trace-events-dns.js index 8c6bd249cb..529665f907 100644 --- a/test/internet/test-trace-events-dns.js +++ b/test/internet/test-trace-events-dns.js @@ -45,7 +45,7 @@ for (const tr in tests) { [ '--trace-event-categories', 'node.dns.native', '-e', - test_str + tests[tr] + test_str + tests[tr], ], { encoding: 'utf8' }); |