Commit 7118b8a8 authored by Nathan Woltman's avatar Nathan Woltman Committed by Rod Vagg
Browse files

path: remove dead code in favor of unit tests

Remove dead code paths that are created by assertions that will never
trigger. They may only trigger if either the `splitDeviceRe` or
`splitPathRe` regular expressions are modified. If at some point they
are modified, current unit tests will catch most of the resulting
errors and this commit adds extra tests to catch the remaining errors.

PR-URL: https://github.com/nodejs/io.js/pull/2282


Reviewed-By: default avatarRoman Reiss <me@silverwind.io>
parent 07a88b0c
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