From 7ab0a9a3c841d61593891b0a86cb9c2dc7483248 Mon Sep 17 00:00:00 2001 From: David8472 Date: Fri, 6 Oct 2017 12:00:48 -0700 Subject: [PATCH] test: http2-respond-file-errors to fixtures module Replace common.fixturesDir with fixtures in test-http2-respond-file-errors.js. PR-URL: https://github.com/nodejs/node/pull/16004 Reviewed-By: Matteo Collina Reviewed-By: James M Snell Reviewed-By: Luigi Pinca Reviewed-By: Yuta Hiroto Reviewed-By: Joyee Cheung Reviewed-By: Ruben Bridgewater --- test/parallel/test-http2-respond-file-errors.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/parallel/test-http2-respond-file-errors.js b/test/parallel/test-http2-respond-file-errors.js index ac2e8f3498..b57d9b1046 100644 --- a/test/parallel/test-http2-respond-file-errors.js +++ b/test/parallel/test-http2-respond-file-errors.js @@ -3,8 +3,8 @@ const common = require('../common'); if (!common.hasCrypto) common.skip('missing crypto'); +const fixtures = require('../common/fixtures'); const http2 = require('http2'); -const path = require('path'); const { HTTP2_HEADER_CONTENT_TYPE, @@ -28,7 +28,7 @@ const types = { symbol: Symbol('test') }; -const fname = path.resolve(common.fixturesDir, 'elipses.txt'); +const fname = fixtures.path('elipses.txt'); const server = http2.createServer();