Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 0fa659c

Browse filesBrowse 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
Copy full SHA for 0fa659c

File tree

Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed
Open diff view settings
Collapse file

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

Copy file name to clipboardExpand all lines: test/parallel/test-fs-realpath-buffer-encoding.js
+2-1Lines changed: 2 additions & 1 deletion
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.