Skip to content

Commit 6f6b2cb

Browse files
cpenarrietatargos
authored andcommitted
test: replace fixturesDir with fixtures methods
PR-URL: #15833 Reviewed-By: Ryan Graham <r.m.graham@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
1 parent 8e7ca5d commit 6f6b2cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/parallel/test-http2-respond-file-fd-errors.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
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');
8-
const path = require('path');
99
const fs = require('fs');
1010

1111
const {
@@ -30,7 +30,7 @@ const types = {
3030
symbol: Symbol('test')
3131
};
3232

33-
const fname = path.resolve(common.fixturesDir, 'elipses.txt');
33+
const fname = fixtures.path('elipses.txt');
3434
const fd = fs.openSync(fname, 'r');
3535

3636
const server = http2.createServer();

0 commit comments

Comments
 (0)