Skip to content
This repository has been archived by the owner on Aug 31, 2018. It is now read-only.

Commit

Permalink
http2: replace fixturesDir with common.fixtures
Browse files Browse the repository at this point in the history
PR-URL: nodejs/node#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>
  • Loading branch information
ekulnivek authored and addaleax committed Oct 15, 2017
1 parent 331a7b9 commit 8ef43cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/parallel/test-http2-respond-file-304.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down

0 comments on commit 8ef43cf

Please sign in to comment.