Skip to content

Commit

Permalink
test: replace fixturesDir with fixtures methods
Browse files Browse the repository at this point in the history
PR-URL: #15833
Reviewed-By: Ryan Graham <[email protected]>
Reviewed-By: Benjamin Gruenbaum <[email protected]>
Reviewed-By: Tobias Nießen <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Gireesh Punathil <[email protected]>
  • Loading branch information
cpenarrieta authored and targos committed Oct 18, 2017
1 parent 8e7ca5d commit 6f6b2cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/parallel/test-http2-respond-file-fd-errors.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
const common = require('../common');
if (!common.hasCrypto)
common.skip('missing crypto');
const fixtures = require('../common/fixtures');
const http2 = require('http2');
const path = require('path');
const fs = require('fs');

const {
Expand All @@ -30,7 +30,7 @@ const types = {
symbol: Symbol('test')
};

const fname = path.resolve(common.fixturesDir, 'elipses.txt');
const fname = fixtures.path('elipses.txt');
const fd = fs.openSync(fname, 'r');

const server = http2.createServer();
Expand Down

0 comments on commit 6f6b2cb

Please sign in to comment.