diff options
-rw-r--r-- | test/parallel/test-path-parse-format.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/parallel/test-path-parse-format.js b/test/parallel/test-path-parse-format.js index 28d14b005a..b749141acc 100644 --- a/test/parallel/test-path-parse-format.js +++ b/test/parallel/test-path-parse-format.js @@ -32,6 +32,8 @@ const winPaths = [ 'file', '.\\file', 'C:\\', + 'C:', + '\\', '', // unc @@ -42,7 +44,9 @@ const winPaths = [ ]; const winSpecialCaseParseTests = [ - ['/foo/bar', { root: '/' }] + ['/foo/bar', { root: '/' }], + ['C:', { root: 'C:', dir: 'C:', base: '' }], + ['C:\\', { root: 'C:\\', dir: 'C:\\', base: '' }] ]; const winSpecialCaseFormatTests = [ |