diff options
author | Greg Matthews <greg.j.matthews@gmail.com> | 2017-10-06 09:52:28 -0700 |
---|---|---|
committer | Ruben Bridgewater <ruben@bridgewater.de> | 2017-10-08 15:46:12 -0700 |
commit | 2bf182dc46f9da7c9ed98d9f98898f815da0d2f6 (patch) | |
tree | 9e79b42676dc636cc9b754ae431ca3e906cb15c2 /test/parallel/test-https-eof-for-eom.js | |
parent | f96745a4d31111788700dd276baed2b966c6f090 (diff) | |
download | android-node-v8-2bf182dc46f9da7c9ed98d9f98898f815da0d2f6.tar.gz android-node-v8-2bf182dc46f9da7c9ed98d9f98898f815da0d2f6.tar.bz2 android-node-v8-2bf182dc46f9da7c9ed98d9f98898f815da0d2f6.zip |
test: replace fixturesDir with fixtures module
PR-URL: https://github.com/nodejs/node/pull/15932
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to 'test/parallel/test-https-eof-for-eom.js')
-rw-r--r-- | test/parallel/test-https-eof-for-eom.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/parallel/test-https-eof-for-eom.js b/test/parallel/test-https-eof-for-eom.js index 3c724fe634..2e42680c7d 100644 --- a/test/parallel/test-https-eof-for-eom.js +++ b/test/parallel/test-https-eof-for-eom.js @@ -35,11 +35,11 @@ if (!common.hasCrypto) const assert = require('assert'); const https = require('https'); const tls = require('tls'); -const fs = require('fs'); +const fixtures = require('../common/fixtures'); const options = { - key: fs.readFileSync(`${common.fixturesDir}/keys/agent1-key.pem`), - cert: fs.readFileSync(`${common.fixturesDir}/keys/agent1-cert.pem`) + key: fixtures.readKey('agent1-key.pem'), + cert: fixtures.readKey('agent1-cert.pem') }; |