mirror of
https://github.com/velopack/velopack.git
synced 2025-10-25 15:19:22 +00:00
fix typo's
This commit is contained in:
@@ -21,7 +21,7 @@ public static partial class OptionMapper
|
|||||||
public static partial GitHubDownloadOptions ToOptions(this GitHubDownloadCommand cmd);
|
public static partial GitHubDownloadOptions ToOptions(this GitHubDownloadCommand cmd);
|
||||||
public static partial GitHubUploadOptions ToOptions(this GitHubUploadCommand cmd);
|
public static partial GitHubUploadOptions ToOptions(this GitHubUploadCommand cmd);
|
||||||
public static partial HttpDownloadOptions ToOptions(this HttpDownloadCommand cmd);
|
public static partial HttpDownloadOptions ToOptions(this HttpDownloadCommand cmd);
|
||||||
public static partial LocalDownloadOptions ToOption(this LocalDownloadCommand cmd);
|
public static partial LocalDownloadOptions ToOptions(this LocalDownloadCommand cmd);
|
||||||
public static partial S3DownloadOptions ToOptions(this S3DownloadCommand cmd);
|
public static partial S3DownloadOptions ToOptions(this S3DownloadCommand cmd);
|
||||||
public static partial S3UploadOptions ToOptions(this S3UploadCommand cmd);
|
public static partial S3UploadOptions ToOptions(this S3UploadCommand cmd);
|
||||||
public static partial DeltaGenOptions ToOptions(this DeltaGenCommand cmd);
|
public static partial DeltaGenOptions ToOptions(this DeltaGenCommand cmd);
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ public class LocalDownloadCommandTests : BaseCommandTests<LocalDownloadCommand>
|
|||||||
var command = new LocalDownloadCommand();
|
var command = new LocalDownloadCommand();
|
||||||
|
|
||||||
// Parse with a fake path
|
// Parse with a fake path
|
||||||
ParseResult parseResult = command.ParseAndApply($"--path \"E:\releases\"");
|
ParseResult parseResult = command.ParseAndApply($"--path \"E:\\releases\"");
|
||||||
|
|
||||||
Assert.Equal(1, parseResult.Errors.Count);
|
Assert.Equal(1, parseResult.Errors.Count);
|
||||||
Assert.StartsWith("--path directory is not found, but must exist", parseResult.Errors[0].Message);
|
Assert.StartsWith("--path directory is not found, but must exist", parseResult.Errors[0].Message);
|
||||||
|
|||||||
Reference in New Issue
Block a user