diff options
author | Rich Trott <rtrott@gmail.com> | 2016-02-08 10:41:15 -0800 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2016-02-09 09:33:08 -0800 |
commit | a84bf2ce68a1ffd5c09c9ff297a56814cd79923f (patch) | |
tree | 907c1fdbe8c230c77da58953f0aaf06609f6315f /test/parallel/test-crypto-certificate.js | |
parent | eea987f937682338a0d0a659c4c28b9ca041dc5e (diff) | |
download | android-node-v8-a84bf2ce68a1ffd5c09c9ff297a56814cd79923f.tar.gz android-node-v8-a84bf2ce68a1ffd5c09c9ff297a56814cd79923f.tar.bz2 android-node-v8-a84bf2ce68a1ffd5c09c9ff297a56814cd79923f.zip |
tools: disallow mixed spaces and tabs for indents
Enable eslint rule disallowing mixing tabs and spaces for indentation.
Modify the one file that had been mixing tabs and spaces.
PR-URL: https://github.com/nodejs/node/pull/5135
Reviewed-By: Michaƫl Zasso <mic.besace@gmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
Diffstat (limited to 'test/parallel/test-crypto-certificate.js')
-rw-r--r-- | test/parallel/test-crypto-certificate.js | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/test/parallel/test-crypto-certificate.js b/test/parallel/test-crypto-certificate.js index 9814b39555..9948303f32 100644 --- a/test/parallel/test-crypto-certificate.js +++ b/test/parallel/test-crypto-certificate.js @@ -22,14 +22,16 @@ var certificate = new crypto.Certificate(); assert.equal(certificate.verifySpkac(spkacValid), true); assert.equal(certificate.verifySpkac(spkacFail), false); -assert.equal(stripLineEndings(certificate.exportPublicKey(spkacValid) - .toString('utf8')), - stripLineEndings(spkacPem.toString('utf8'))); +assert.equal( + stripLineEndings(certificate.exportPublicKey(spkacValid).toString('utf8')), + stripLineEndings(spkacPem.toString('utf8')) +); assert.equal(certificate.exportPublicKey(spkacFail), ''); -assert.equal(certificate.exportChallenge(spkacValid) - .toString('utf8'), - 'fb9ab814-6677-42a4-a60c-f905d1a6924d'); +assert.equal( + certificate.exportChallenge(spkacValid).toString('utf8'), + 'fb9ab814-6677-42a4-a60c-f905d1a6924d' +); assert.equal(certificate.exportChallenge(spkacFail), ''); function stripLineEndings(obj) { |