We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd8d440 commit 1365a6fCopy full SHA for 1365a6f
test/parallel/test-fs-read-zero-length.js
@@ -1,9 +1,9 @@
1
'use strict';
2
const common = require('../common');
3
+const fixtures = require('../common/fixtures');
4
const assert = require('assert');
-const path = require('path');
5
const fs = require('fs');
6
-const filepath = path.join(common.fixturesDir, 'x.txt');
+const filepath = fixtures.path('x.txt');
7
const fd = fs.openSync(filepath, 'r');
8
const expected = '';
9
0 commit comments