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 <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
  • Loading branch information
gengjiawen authored and BridgeAR committed Mar 14, 2019
1 parent 56adebf commit 13253a3
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, '[email protected]');
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 13253a3

Please sign in to comment.