From 7df8e0b0db5922da6032705208c9d27a8b73ae2d Mon Sep 17 00:00:00 2001 From: BradLarson Date: Fri, 6 Oct 2017 12:29:49 -0500 Subject: [PATCH] test: replace common.fixturesDir with fixture MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/15940 Reviewed-By: Sam Roberts Reviewed-By: Ruben Bridgewater Reviewed-By: Tobias Nießen Reviewed-By: Colin Ihrig --- test/parallel/test-http2-respond-file-compat.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/parallel/test-http2-respond-file-compat.js b/test/parallel/test-http2-respond-file-compat.js index 53c5a34d2ae0fc..230f2aa23d40dd 100644 --- a/test/parallel/test-http2-respond-file-compat.js +++ b/test/parallel/test-http2-respond-file-compat.js @@ -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);