From 437804245248f8a8c5b7a0e84366f443b9714b45 Mon Sep 17 00:00:00 2001 From: gengjiawen Date: Sun, 10 Mar 2019 18:14:07 +0800 Subject: [PATCH] test: use semicolon for clarity MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/26566 Reviewed-By: Ruben Bridgewater Reviewed-By: Luigi Pinca Reviewed-By: Michaël Zasso Reviewed-By: Richard Lau Reviewed-By: Colin Ihrig --- test/parallel/test-child-process-double-pipe.js | 8 ++++---- test/parallel/test-tls-cert-chains-concat.js | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/test/parallel/test-child-process-double-pipe.js b/test/parallel/test-child-process-double-pipe.js index 8503ebf69cc89d..402c3c09917673 100644 --- a/test/parallel/test-child-process-double-pipe.js +++ b/test/parallel/test-child-process-double-pipe.js @@ -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']); } diff --git a/test/parallel/test-tls-cert-chains-concat.js b/test/parallel/test-tls-cert-chains-concat.js index 1fc25fd7e7cc69..a099f9ce332cb0 100644 --- a/test/parallel/test-tls-cert-chains-concat.js +++ b/test/parallel/test-tls-cert-chains-concat.js @@ -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');