Skip to content

Commit b0b224c

Browse files
ekulnivektargos
ekulnivek
authored andcommittedOct 18, 2017
http2: replace fixturesDir with common.fixtures
PR-URL: #15839 Reviewed-By: Ryan Graham <[email protected]> Reviewed-By: Gibson Fahnestock <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent ce2eeb9 commit b0b224c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎test/parallel/test-http2-respond-file-304.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@
44
const common = require('../common');
55
if (!common.hasCrypto)
66
common.skip('missing crypto');
7+
const fixtures = require('../common/fixtures');
78
const http2 = require('http2');
89
const assert = require('assert');
9-
const path = require('path');
1010

1111
const {
1212
HTTP2_HEADER_CONTENT_TYPE,
1313
HTTP2_HEADER_STATUS
1414
} = http2.constants;
1515

16-
const fname = path.resolve(common.fixturesDir, 'elipses.txt');
16+
const fname = fixtures.path('elipses.txt');
1717

1818
const server = http2.createServer();
1919
server.on('stream', (stream) => {

0 commit comments

Comments
 (0)
Please sign in to comment.