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 MylesBorins committed Oct 11, 2017
1 parent 26536e4 commit 7df8e0b
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 @@ -5,9 +5,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 7df8e0b

Please sign in to comment.