Skip to content

Commit

Permalink
test: replace common.fixturesDir with fixture
Browse files Browse the repository at this point in the history
PR-URL: #15940
Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
  • Loading branch information
Panguino authored and BridgeAR committed Oct 8, 2017
1 parent 31ab2eb commit 3f5f847
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/parallel/test-http2-respond-file-compat.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ const common = require('../common');
if (!common.hasCrypto)
common.skip('missing crypto');
const http2 = require('http2');
const path = require('path');
const fixtures = require('../common/fixtures');

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

const server = http2.createServer(common.mustCall((request, response) => {
response.stream.respondWithFile(fname);
Expand Down

0 comments on commit 3f5f847

Please sign in to comment.