diff options
author | ekulnivek <ekulnivek@hotmail.com> | 2017-10-06 09:41:16 -0700 |
---|---|---|
committer | Gireesh Punathil <gpunathi@in.ibm.com> | 2017-10-12 21:01:11 +0530 |
commit | 6b5433dcd2f518643d67a16a5f89ad4e845e4902 (patch) | |
tree | e268ed021b1cfb29bd8beb34884271427f525c3c /test/parallel/test-http2-respond-file-304.js | |
parent | 88d05aa43b5654c016e345d0b6f463e84fd857bf (diff) | |
download | android-node-v8-6b5433dcd2f518643d67a16a5f89ad4e845e4902.tar.gz android-node-v8-6b5433dcd2f518643d67a16a5f89ad4e845e4902.tar.bz2 android-node-v8-6b5433dcd2f518643d67a16a5f89ad4e845e4902.zip |
http2: replace fixturesDir with common.fixtures
PR-URL: https://github.com/nodejs/node/pull/15839
Reviewed-By: Ryan Graham <r.m.graham@gmail.com>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Diffstat (limited to 'test/parallel/test-http2-respond-file-304.js')
-rw-r--r-- | test/parallel/test-http2-respond-file-304.js | 4 |
1 files 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) => { |