Skip to content

Commit

Permalink
test: use fixtures module
Browse files Browse the repository at this point in the history
PR-URL: #15843
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
  • Loading branch information
scottjbeck authored and gibfahn committed Oct 31, 2017
1 parent b4af922 commit fe9cca2
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions test/parallel/test-https-localaddress-bind-error.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,13 @@ if (!common.hasCrypto)
common.skip('missing crypto');

const assert = require('assert');
const fs = require('fs');
const https = require('https');

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')
};

const invalidLocalAddress = '1.2.3.4';
Expand Down

0 comments on commit fe9cca2

Please sign in to comment.