You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You will see that the first assertion will fail, because the actual returned value for it is /c/d. The above will also fail, if you have Path q = p.resolve("c/d");. This is incorrect. Could you please fix it? :)
The text was updated successfully, but these errors were encountered:
If you convert q (which is c/d) to absolute path with q.toAbsolutePath() you can't have the complete /a/b/c/d path.
Because if you don't do "resolve" or "relativize" between the two paths you can't combine it.
In the
TestPath
there is already a test case to illustrate this. Currently, it looks like this:If you change it to:
You will see that the first assertion will fail, because the actual returned value for it is
/c/d
. The above will also fail, if you havePath q = p.resolve("c/d");
. This is incorrect. Could you please fix it? :)The text was updated successfully, but these errors were encountered: