Skip to content

Commit 31ce58f

Browse files
committed
fixup! fixup! fixup! test: add known_issues test for #13683
1 parent 556552e commit 31ce58f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/known_issues/test-path-posix-relative-on-windows.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ const path = require('path');
66

77
// Refs: https://github.com/nodejs/node/issues/13683
88

9-
assert.strictEqual(path.posix.relative('a/b/c', '../../x'), '../../../../../x');
9+
const relativePath = path.posix.relative('a/b/c', '../../x');
10+
assert.match(relativePath, /^(\.\.\/){3,5}x$/);

0 commit comments

Comments
 (0)