mirror of
https://github.com/velopack/velopack.git
synced 2025-10-25 15:19:22 +00:00
This was a dumb test
This commit is contained in:
@@ -13,16 +13,6 @@ public class OptionMapperTests
|
|||||||
Assert.True(OptionMapper.Map<RID>("win-x64") == RID.Parse("win-x64"));
|
Assert.True(OptionMapper.Map<RID>("win-x64") == RID.Parse("win-x64"));
|
||||||
}
|
}
|
||||||
|
|
||||||
[Fact]
|
|
||||||
public void MapDirectory()
|
|
||||||
{
|
|
||||||
if (VelopackRuntimeInfo.IsWindows) {
|
|
||||||
Assert.Equal("C:\\hello", OptionMapper.Map<DirectoryInfo>("C:\\hello").FullName);
|
|
||||||
} else {
|
|
||||||
Assert.Equal("/hello", OptionMapper.Map<DirectoryInfo>("/hello").FullName);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
[Fact]
|
[Fact]
|
||||||
public void MapCommand()
|
public void MapCommand()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user