Commit fc89d176 authored by Mike Kaufman's avatar Mike Kaufman Committed by Myles Borins
Browse files

path: fixing a test that breaks on some machines.

A win32-only test was verifying that path.win32._makeLong('C:')
would return the current working directory.  This would only work if
current working directory was also on the C: device.  Fix is to grab
the device letter for current working directory, and pass that to
_makeLong().

PR-URL: https://github.com/nodejs/node/pull/6067


Reviewed-By: default avatarTrott - Rich Trott <rtrott@gmail.com>
Reviewed-By: default avatarJoao Reis <reis@janeasystems.com>
Reviewed-By: default avatarBenjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
Reviewed-By: default avatarJohan Bergström <bugs@bergstroem.nu>
parent 2254f1a1
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment