diff options
author | Kevin Smith <Kevin.Smith@microsoft.com> | 2018-12-29 12:57:39 -0800 |
---|---|---|
committer | Daniel Bevenius <daniel.bevenius@gmail.com> | 2019-01-11 07:17:44 +0100 |
commit | 7237eaa3353aacf284289c8b59b0a5e0fa5744bb (patch) | |
tree | 7feae677089115aa49b19f283cc81d6cb5ae8c51 /test/parallel/test-fs-whatwg-url.js | |
parent | eb664c3b6df2ec618fa1c9339dbd418e858bfcfa (diff) | |
download | android-node-v8-7237eaa3353aacf284289c8b59b0a5e0fa5744bb.tar.gz android-node-v8-7237eaa3353aacf284289c8b59b0a5e0fa5744bb.tar.bz2 android-node-v8-7237eaa3353aacf284289c8b59b0a5e0fa5744bb.zip |
url: return backslashes from fileURLToPath on win
PR-URL: https://github.com/nodejs/node/pull/25349
Fixes: https://github.com/nodejs/node/issues/25265
Reviewed-By: Guy Bedford <guybedford@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com>
Reviewed-By: John-David Dalton <john.david.dalton@gmail.com>
Diffstat (limited to 'test/parallel/test-fs-whatwg-url.js')
-rw-r--r-- | test/parallel/test-fs-whatwg-url.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-fs-whatwg-url.js b/test/parallel/test-fs-whatwg-url.js index 91c5c39637..c5f4d81dfb 100644 --- a/test/parallel/test-fs-whatwg-url.js +++ b/test/parallel/test-fs-whatwg-url.js @@ -63,7 +63,7 @@ if (common.isWindows) { code: 'ERR_INVALID_ARG_VALUE', type: TypeError, message: 'The argument \'path\' must be a string or Uint8Array without ' + - 'null bytes. Received \'c:/tmp/\\u0000test\'' + 'null bytes. Received \'c:\\\\tmp\\\\\\u0000test\'' } ); } else { |