summaryrefslogtreecommitdiff
path: root/test/parallel/test-path-join.js
diff options
context:
space:
mode:
authorzhmushan <zhmushan@qq.com>2018-12-05 12:03:14 +0800
committerRich Trott <rtrott@gmail.com>2018-12-08 09:20:45 -0800
commit008b904c069b0a5139036e21542b69f2fc35ba1e (patch)
tree0030b7e204845f84bffc27cbc5b49b80aa2ed5d9 /test/parallel/test-path-join.js
parent6780683a7a28a01c25243560da7eae1ff8c0a089 (diff)
downloadandroid-node-v8-008b904c069b0a5139036e21542b69f2fc35ba1e.tar.gz
android-node-v8-008b904c069b0a5139036e21542b69f2fc35ba1e.tar.bz2
android-node-v8-008b904c069b0a5139036e21542b69f2fc35ba1e.zip
test: fix wrong parameter
PR-URL: https://github.com/nodejs/node/pull/24844 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Diffstat (limited to 'test/parallel/test-path-join.js')
-rw-r--r--test/parallel/test-path-join.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-path-join.js b/test/parallel/test-path-join.js
index 691ba98f9b..945cf0e9b5 100644
--- a/test/parallel/test-path-join.js
+++ b/test/parallel/test-path-join.js
@@ -90,7 +90,7 @@ joinTests.push([
[['//', 'foo/bar'], '\\foo\\bar'],
[['//', '/foo/bar'], '\\foo\\bar'],
[['\\\\', '/', '/foo/bar'], '\\foo\\bar'],
- [['//'], '/'],
+ [['//'], '\\'],
// No UNC path expected (share name missing - questionable).
[['//foo'], '\\foo'],
[['//foo/'], '\\foo\\'],