From 0c7a2cfab26daee95f0c914551ca8ce9e0138998 Mon Sep 17 00:00:00 2001 From: Vladimir Ilic Date: Mon, 9 Oct 2017 18:11:26 -0700 Subject: [PATCH 1/2] In tests/paraller/test-fs-read.js replaced common.fixturesDir with usage of the common.fixtures module. --- test/parallel/test-fs-read.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/parallel/test-fs-read.js b/test/parallel/test-fs-read.js index 4fb40f052b2af3..7f9e70fb15b2fa 100644 --- a/test/parallel/test-fs-read.js +++ b/test/parallel/test-fs-read.js @@ -21,10 +21,12 @@ 'use strict'; const common = require('../common'); +const fixtures = require('../common/fixtures'); const assert = require('assert'); -const path = require('path'); +// const path = require('path'); const fs = require('fs'); -const filepath = path.join(common.fixturesDir, 'x.txt'); +// 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'); From 6fa8bd1474037aa723c7785d265ef8bf6a939569 Mon Sep 17 00:00:00 2001 From: Vladimir Ilic Date: Mon, 9 Oct 2017 18:16:01 -0700 Subject: [PATCH 2/2] Replace common.fixtureDir with common.fixtures --- test/parallel/test-fs-read.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/test/parallel/test-fs-read.js b/test/parallel/test-fs-read.js index 7f9e70fb15b2fa..f69937b3be5174 100644 --- a/test/parallel/test-fs-read.js +++ b/test/parallel/test-fs-read.js @@ -23,9 +23,7 @@ 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');