diff options
author | Rich Trott <rtrott@gmail.com> | 2021-03-13 18:33:07 -0800 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2021-04-02 19:30:43 -0700 |
commit | b0d5e036d8677633d82032deac055ad716a55531 (patch) | |
tree | 39fda131169f0d2c5d7d4df0483f050d21cb373a /test/known_issues | |
parent | e46c680bf2b211bbd52cf959ca17ee98c7f657f5 (diff) | |
download | node-new-b0d5e036d8677633d82032deac055ad716a55531.tar.gz |
path: fix posix.relative() on Windows
Fixes: https://github.com/nodejs/node/issues/13683
PR-URL: https://github.com/nodejs/node/pull/37747
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Diffstat (limited to 'test/known_issues')
-rw-r--r-- | test/known_issues/known_issues.status | 14 | ||||
-rw-r--r-- | test/known_issues/test-path-posix-relative-on-windows.js | 10 |
2 files changed, 0 insertions, 24 deletions
diff --git a/test/known_issues/known_issues.status b/test/known_issues/known_issues.status index 690e6e9840..7a50c10404 100644 --- a/test/known_issues/known_issues.status +++ b/test/known_issues/known_issues.status @@ -15,32 +15,18 @@ test-vm-timeout-escape-queuemicrotask: SKIP [$system==win32] [$system==linux] -# Windows-specific test -test-path-posix-relative-on-windows: SKIP [$system==macos] -# Windows-specific test -test-path-posix-relative-on-windows: SKIP [$system==solaris] -# Windows-specific test -test-path-posix-relative-on-windows: SKIP [$system==freebsd] -# Windows-specific test -test-path-posix-relative-on-windows: SKIP [$system==aix] -# Windows-specific test -test-path-posix-relative-on-windows: SKIP [$arch==arm] # The Raspberry Pis are too slow to run this test. # See https://github.com/nodejs/build/issues/2227#issuecomment-608334574 test-crypto-authenticated-stream: SKIP -# Windows-specific test -test-path-posix-relative-on-windows: SKIP [$system==ibmi] -# Windows-specific test -test-path-posix-relative-on-windows: SKIP diff --git a/test/known_issues/test-path-posix-relative-on-windows.js b/test/known_issues/test-path-posix-relative-on-windows.js deleted file mode 100644 index bcaaca8b18..0000000000 --- a/test/known_issues/test-path-posix-relative-on-windows.js +++ /dev/null @@ -1,10 +0,0 @@ -'use strict'; - -require('../common'); -const assert = require('assert'); -const path = require('path'); - -// Refs: https://github.com/nodejs/node/issues/13683 - -const relativePath = path.posix.relative('a/b/c', '../../x'); -assert.match(relativePath, /^(\.\.\/){3,5}x$/); |