From 8ef43cf89003fa6bd56a94a7dc4b848f4d0b4e22 Mon Sep 17 00:00:00 2001 From: ekulnivek Date: Fri, 6 Oct 2017 09:41:16 -0700 Subject: [PATCH] http2: replace fixturesDir with common.fixtures PR-URL: https://github.com/nodejs/node/pull/15839 Reviewed-By: Ryan Graham Reviewed-By: Gibson Fahnestock Reviewed-By: Benjamin Gruenbaum Reviewed-By: Gireesh Punathil Reviewed-By: Luigi Pinca --- test/parallel/test-http2-respond-file-304.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/parallel/test-http2-respond-file-304.js b/test/parallel/test-http2-respond-file-304.js index 04a092b51e..e6e0842c7f 100644 --- a/test/parallel/test-http2-respond-file-304.js +++ b/test/parallel/test-http2-respond-file-304.js @@ -3,16 +3,16 @@ const common = require('../common'); if (!common.hasCrypto) common.skip('missing crypto'); +const fixtures = require('../common/fixtures'); const http2 = require('http2'); const assert = require('assert'); -const path = require('path'); const { HTTP2_HEADER_CONTENT_TYPE, HTTP2_HEADER_STATUS } = http2.constants; -const fname = path.resolve(common.fixturesDir, 'elipses.txt'); +const fname = fixtures.path('elipses.txt'); const server = http2.createServer(); server.on('stream', (stream) => {