Skip to content

Commit

Permalink
test: normalize fixtures use
Browse files Browse the repository at this point in the history
This commit replaces the use of `common.fixturesDir`
with `common.fixtures` & `fixtures.path` in
`test-fs-read-stream-resume.js`

PR-URL: #15855
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@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>
  • Loading branch information
ruxandrafed authored and MylesBorins committed Nov 28, 2017
1 parent 3c176fd commit c35420d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/parallel/test-fs-read-stream-resume.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
'use strict';
const common = require('../common');
require('../common');
const fixtures = require('../common/fixtures');
const assert = require('assert');

const fs = require('fs');
const path = require('path');

const file = path.join(common.fixturesDir, 'x.txt');
const file = fixtures.path('x.txt');
let data = '';
let first = true;

Expand Down

0 comments on commit c35420d

Please sign in to comment.