Skip to content

Commit

Permalink
test: replace common.fixturesDir with common.fixtures \n in test-http…
Browse files Browse the repository at this point in the history
…2-create-client-secure-session.js
  • Loading branch information
Kasim Doctor committed Oct 11, 2017
1 parent 07f1efc commit 6c5db36
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions test/parallel/test-http2-create-client-secure-session.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,14 @@ const common = require('../common');
if (!common.hasCrypto)
common.skip('missing crypto');

const fixtures = require('../common/fixtures');

const assert = require('assert');
const path = require('path');
const fs = require('fs');
const tls = require('tls');
const h2 = require('http2');

function loadKey(keyname) {
return fs.readFileSync(
path.join(common.fixturesDir, 'keys', keyname), 'binary');
return fixtures.readKey(keyname, 'binary');
}

function onStream(stream, headers) {
Expand Down

0 comments on commit 6c5db36

Please sign in to comment.