Thanks to visit codestin.com Credit goes to github.com
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 6b32877 commit a7a70faCopy full SHA for a7a70fa
test/parallel/test-fs-readv-sync.js
@@ -3,6 +3,7 @@
3
require('../common');
4
const assert = require('assert');
5
const fs = require('fs');
6
+const path = require('path');
7
const tmpdir = require('../common/tmpdir');
8
9
tmpdir.refresh();
@@ -12,7 +13,7 @@ const expected = 'ümlaut. Лорем 運務ホソモ指及 आपको कर
12
13
const exptectedBuff = Buffer.from(expected);
14
const expectedLength = exptectedBuff.length;
15
-const filename = 'readv_sync.txt';
16
+const filename = path.join(tmpdir.path, 'readv_sync.txt');
17
fs.writeFileSync(filename, exptectedBuff);
18
19
const allocateEmptyBuffers = (combinedLength) => {
0 commit comments