Remove Platform.UnresolvePath.

This commit is contained in:
Paul Chote
2020-11-20 18:37:04 +00:00
committed by abcdefg30
parent 151cea96e9
commit 72f1f06ebc
3 changed files with 1 additions and 35 deletions

View File

@@ -45,18 +45,5 @@ namespace OpenRA.Test
Assert.That(Platform.ResolvePath("testpath"),
Is.EqualTo("testpath"));
}
[TestCase(TestName = "Returns encoded paths")]
public void UnresolvePath()
{
Assert.That(Platform.UnresolvePath(Path.Combine(supportDir, "testpath")),
Is.EqualTo("^testpath"));
Assert.That(Platform.UnresolvePath(Path.Combine(gameDir, "testpath")),
Is.EqualTo("./testpath"));
Assert.That(Platform.UnresolvePath("testpath"),
Is.EqualTo("testpath"));
}
}
}