SPAM-LOW: Re: [Mono-dev] NUnit 2.2.6 Portability Bug
Jonathan Pryor
jonpryor at vt.edu
Sun Jan 29 10:11:12 EST 2006
On Sat, 2006-01-28 at 18:15 -0800, Charlie Poole wrote:
> Hi Jonathan,
> I'll write a test. :-)
>
> > PathRelativePathTo: this variation on your
> > PathUtils.RelativePath works for me (minimally tested):
>
> This looks too simple to work, but I'll try it. ;-)
Attached is a better version, complete with test cases. The previous
function was Unix-native -- it didn't care about drives or other such
things that I found in PathUtilTests.cs. The attached version is a
little smarter, though it means we can't use the same input strings on
both Unix and Windows for testing -- we need platform-specific
tests. :-(
- Jon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: prpt.cs
Type: text/x-csharp
Size: 2761 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20060129/38079ab4/attachment.bin
More information about the Mono-devel-list
mailing list