Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update test/parallel/test-path-dirname.js
Co-authored-by: Livia Medeiros <livia@cirno.name>
  • Loading branch information
avivkeller and LiviaMedeiros authored Apr 14, 2024
commit 18f0be4aa76ba52ccdf5c7b5eaaf282ea40e3a09
4 changes: 2 additions & 2 deletions test/parallel/test-path-dirname.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,5 @@ assert.strictEqual(path.win32.dirname('/'), '/');
assert.strictEqual(path.win32.dirname('////'), '/');
assert.strictEqual(path.win32.dirname('foo'), '.');

assert.strictEqual(path.win32.dirname(url.pathToFileURL('c:\\')), 'c:\\');
assert.strictEqual(path.win32.dirname(url.pathToFileURL('c:\\foo')), 'c:\\');
assert.strictEqual(path.win32.dirname('file:///c:/'), 'c:\\');
assert.strictEqual(path.win32.dirname('file:///c:/foo'), 'c:\\');