Skip to content

Commit 0fa659c

Browse files
doomhzMylesBorins
authored andcommitted
test: replace common.fixturesDir with fixtures module
Require `fixturesDir` from `fixtures` module instead of `common` in test-fs-realpath-buffer-encoding. PR-URL: #16803 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
1 parent 1e6845d commit 0fa659c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/parallel/test-fs-realpath-buffer-encoding.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
'use strict';
22
const common = require('../common');
3+
const fixtures = require('../common/fixtures');
34
const assert = require('assert');
45
const fs = require('fs');
56

6-
const string_dir = fs.realpathSync(common.fixturesDir);
7+
const string_dir = fs.realpathSync(fixtures.fixturesDir);
78
const buffer_dir = Buffer.from(string_dir);
89

910
const encodings = ['ascii', 'utf8', 'utf16le', 'ucs2',

0 commit comments

Comments
 (0)