mirror of
https://github.com/velopack/velopack.git
synced 2025-10-25 15:19:22 +00:00
Decouple Spectre from Packaging, refactor command/compat
This commit is contained in:
@@ -68,7 +68,7 @@ public class GitHubDownloadCommandTests : GitHubCommandTests<GitHubDownloadComma
|
||||
string cli = GetRequiredDefaultOptions() + "--pre";
|
||||
ParseResult parseResult = command.ParseAndApply(cli);
|
||||
|
||||
Assert.True(command.Pre);
|
||||
Assert.True(command.Prerelease);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -40,7 +40,7 @@ public abstract class ReleaseCommandTests<T> : BaseCommandTests<T>
|
||||
string cli = GetRequiredDefaultOptions() + "--delta none";
|
||||
ParseResult parseResult = command.ParseAndApply(cli);
|
||||
|
||||
Assert.True(command.Delta == Packaging.DeltaMode.None);
|
||||
Assert.True(command.DeltaMode == Packaging.DeltaMode.None);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
|
||||
Reference in New Issue
Block a user