Hi!

What is the purpose of the test in Tests.NAnt.Core.Util.FileUtilsTest class:

public void Test_GetFullPath() {
            if (PlatformHelper.IsWin32) {
                Assert.AreEqual(@"Z:\", FileUtils.GetFullPath("Z:"), "#1");
                // ...
            }
}

This test will probably fail if the build is triggered on drive Z: in
a directory other than root. At least, this happens in my case :).

I'm curious if it is okay. Is it?

Best regards,
Marcin


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to