namespace MonoTests.Mono.Unix
{
- [TestFixture, Category ("NotDotNet")]
+ [TestFixture, Category ("NotDotNet"), Category ("NotOnWindows")]
public class UnixPathTest {
private static readonly char DSC = UnixPath.DirectorySeparatorChar;
Assert.AreEqual ("one", path);
path = UnixPath.Combine (current, "one");
- expected = current + DSC + "one";
+ expected = (current == "/" ? String.Empty : current) + DSC + "one";
Assert.AreEqual (expected, path);
path = UnixPath.Combine ("one", current);