We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4c461b commit d962ee3Copy full SHA for d962ee3
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 bufferAsync = Buffer.alloc(0);
9
const bufferSync = Buffer.alloc(0);
0 commit comments