(p)
| 15 | const path = require('path'); |
| 16 | |
| 17 | function test(p) { |
| 18 | const result = fs.realpathSync(p); |
| 19 | assert.strictEqual(result.toLowerCase(), path.resolve(p).toLowerCase()); |
| 20 | |
| 21 | fs.realpath(p, common.mustSucceed((result) => { |
| 22 | assert.strictEqual(result.toLowerCase(), path.resolve(p).toLowerCase()); |
| 23 | })); |
| 24 | } |
| 25 | |
| 26 | test(`//${os.hostname()}/c$/Windows/System32`); |
| 27 | test(`//${os.hostname()}/c$/Windows`); |
no test coverage detected
searching dependent graphs…