From ff1ad9698cef631467e6ab84952a7f3ff9bdf6f0 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 --- 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 bf640fd3798345..135993f7df450c 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');