test: replace common.fixturesDir with fixture

PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
BradLarson authored and Ruben Bridgewater committed 2017-10-08 15:46:12 -07:00
1 parent 31ab2ebbde
commit 3f5f847ed1
1 file changed
+2 -2
@@ -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);