From c2345391cdd4e1964c0fa59343f81092e8b74f7a Mon Sep 17 00:00:00 2001 From: Steven Scott Date: Fri, 6 Oct 2017 09:46:23 -0700 Subject: [PATCH] test: replace common.fixturesDir with fixtures PR-URL: https://github.com/nodejs/node/pull/15845 Reviewed-By: Richard Lau Reviewed-By: Colin Ihrig Reviewed-By: Benjamin Gruenbaum Reviewed-By: James M Snell Reviewed-By: Gireesh Punathil Reviewed-By: Luigi Pinca --- test/parallel/test-fs-copyfile.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/parallel/test-fs-copyfile.js b/test/parallel/test-fs-copyfile.js index 8ff1b0cb3eb0b1..7487633764ae9a 100644 --- a/test/parallel/test-fs-copyfile.js +++ b/test/parallel/test-fs-copyfile.js @@ -1,9 +1,10 @@ 'use strict'; const common = require('../common'); +const fixtures = require('../common/fixtures'); const assert = require('assert'); const fs = require('fs'); const path = require('path'); -const src = path.join(common.fixturesDir, 'a.js'); +const src = fixtures.path('a.js'); const dest = path.join(common.tmpDir, 'copyfile.out'); const { COPYFILE_EXCL, UV_FS_COPYFILE_EXCL } = fs.constants;