Skip to content

Commit

Permalink
test: use common.fixtures.path()
Browse files Browse the repository at this point in the history
PR-URL: #16112
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
  • Loading branch information
tobbik authored and MylesBorins committed Nov 28, 2017
1 parent 4639cff commit 788d7db
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/parallel/test-fs-readfile-fd.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
'use strict';
const common = require('../common');
require('../common');
const fixtures = require('../common/fixtures');
const assert = require('assert');
const path = require('path');
const fs = require('fs');
const fn = path.join(common.fixturesDir, 'empty.txt');
const fn = fixtures.path('empty.txt');

tempFd(function(fd, close) {
fs.readFile(fd, function(err, data) {
Expand Down

0 comments on commit 788d7db

Please sign in to comment.