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.
1 parent 556552e commit 31ce58fCopy full SHA for 31ce58f
test/known_issues/test-path-posix-relative-on-windows.js
@@ -6,4 +6,5 @@ const path = require('path');
6
7
// Refs: https://github.com/nodejs/node/issues/13683
8
9
-assert.strictEqual(path.posix.relative('a/b/c', '../../x'), '../../../../../x');
+const relativePath = path.posix.relative('a/b/c', '../../x');
10
+assert.match(relativePath, /^(\.\.\/){3,5}x$/);
0 commit comments