Skip to content

Commit

Permalink
test: replace common.fixturesDir with fixtures
Browse files Browse the repository at this point in the history
PR-URL: nodejs/node#15857
Reviewed-By: Gireesh Punathil <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
  • Loading branch information
shakeelmohamed authored and addaleax committed Oct 11, 2017
1 parent ea68068 commit d6364aa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/parallel/test-tls-client-resume.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ if (!common.hasCrypto)

const assert = require('assert');
const tls = require('tls');
const fs = require('fs');
const fixtures = require('../common/fixtures');

const options = {
key: fs.readFileSync(`${common.fixturesDir}/keys/agent2-key.pem`),
cert: fs.readFileSync(`${common.fixturesDir}/keys/agent2-cert.pem`)
key: fixtures.readKey('agent2-key.pem'),
cert: fixtures.readKey('agent2-cert.pem')
};

// create server
Expand Down

0 comments on commit d6364aa

Please sign in to comment.