Skip to content

Commit

Permalink
test: replace fixturesDir with fixtures module
Browse files Browse the repository at this point in the history
PR-URL: #15932
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
  • Loading branch information
Blackth0rn authored and BridgeAR committed Oct 8, 2017
1 parent f96745a commit 2bf182d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/parallel/test-https-eof-for-eom.js
Original file line number Diff line number Diff line change
Expand Up @@ -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')
};


Expand Down

0 comments on commit 2bf182d

Please sign in to comment.