Skip to content

Commit

Permalink
test: use semicolon for clarity
Browse files Browse the repository at this point in the history
PR-URL: #26566
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
  • Loading branch information
gengjiawen authored and BethGriggs committed Apr 16, 2019
1 parent f30172f commit 4378042
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions test/parallel/test-child-process-double-pipe.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ const spawn = require('child_process').spawn;
let grep, sed, echo;

if (common.isWindows) {
grep = spawn('grep', ['--binary', 'o']),
sed = spawn('sed', ['--binary', 's/o/O/']),
grep = spawn('grep', ['--binary', 'o']);
sed = spawn('sed', ['--binary', 's/o/O/']);
echo = spawn('cmd.exe',
['/c', 'echo', 'hello&&', 'echo',
'node&&', 'echo', 'and&&', 'echo', 'world']);
} else {
grep = spawn('grep', ['o']),
sed = spawn('sed', ['s/o/O/']),
grep = spawn('grep', ['o']);
sed = spawn('sed', ['s/o/O/']);
echo = spawn('echo', ['hello\nnode\nand\nworld\n']);
}

Expand Down
2 changes: 1 addition & 1 deletion test/parallel/test-tls-cert-chains-concat.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ connect({
const peer = pair.client.conn.getPeerCertificate();
debug('peer:\n', peer);
assert.strictEqual(peer.subject.emailAddress, 'adam.lippai@tresorit.com');
assert.strictEqual(peer.subject.CN, 'Ádám Lippai'),
assert.strictEqual(peer.subject.CN, 'Ádám Lippai');
assert.strictEqual(peer.issuer.CN, 'ca3');
assert.strictEqual(peer.serialNumber, 'D0082F458B6EFBE8');

Expand Down

0 comments on commit 4378042

Please sign in to comment.