Fix for some AppDomains that doesn't add trailing DirectorySeparatorChar.

This commit is contained in:
Markus Hartung
2017-07-02 21:51:53 +02:00
committed by Paul Chote
parent c2e36b8eeb
commit 3a6796ac9d
2 changed files with 17 additions and 2 deletions

View File

@@ -39,6 +39,9 @@ namespace OpenRA.Test
Assert.That(Platform.ResolvePath("./testpath"),
Is.EqualTo(Path.Combine(gameDir, "testpath")));
Assert.That(Platform.ResolvePath(Path.Combine(".", "Foo.dll")),
Is.EqualTo(Path.Combine(gameDir, "Foo.dll")));
Assert.That(Platform.ResolvePath("testpath"),
Is.EqualTo("testpath"));
}