Skip to content

Commit

Permalink
fixup! fixup! fixup! test: add known_issues test for nodejs#13683
Browse files Browse the repository at this point in the history
  • Loading branch information
Trott committed Mar 14, 2021
1 parent 556552e commit 31ce58f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/known_issues/test-path-posix-relative-on-windows.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ const path = require('path');

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

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

0 comments on commit 31ce58f

Please sign in to comment.