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

Commit

Permalink
test: replace fixtureDir with fixtures methods
Browse files Browse the repository at this point in the history
PR-URL: nodejs/node#16114
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
  • Loading branch information
burgerboydaddy authored and addaleax committed Oct 15, 2017
1 parent 90b1b97 commit cab0155
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/parallel/test-fs-read.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@

'use strict';
const common = require('../common');
const fixtures = require('../common/fixtures');
const assert = require('assert');
const path = require('path');
const fs = require('fs');
const filepath = path.join(common.fixturesDir, 'x.txt');
const filepath = fixtures.path('x.txt');
const fd = fs.openSync(filepath, 'r');

const expected = Buffer.from('xyz\n');
Expand Down

0 comments on commit cab0155

Please sign in to comment.