fix typo's

This commit is contained in:
Caelan Sayler
2024-02-04 18:56:45 +00:00
parent d54b914208
commit 5943e33e16
2 changed files with 2 additions and 2 deletions

View File

@@ -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);

View File

@@ -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);