8000
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.
There was an error while loading 8000 . Please reload this page.
1 parent d572f60 commit 23525b0Copy full SHA for 23525b0
test/parallel/test-fs-readfilesync-enoent.js
@@ -11,6 +11,7 @@ if (!common.isWindows)
11
12
const assert = require('assert');
13
const fs = require('fs');
14
+const os = require('os');
15
const path = require('path');
16
17
function test(p) {
@@ -23,10 +24,10 @@ function test(p) {
23
24
}));
25
}
26
-test('//localhost/c$/Windows/System32');
27
-test('//localhost/c$/Windows');
28
-test('//localhost/c$/');
29
-test('\\\\localhost\\c$\\');
+test(`//${os.hostname()}/c$/Windows/System32`);
+test(`//${os.hostname()}/c$/Windows`);
+test(`//${os.hostname()}/c$/`);
30
+test(`\\\\${os.hostname()}\\c$\\`);
31
test('C:\\');
32
test('C:');
33
test(process.env.windir);
0 commit comments