text fixes for dotnet remove
This commit is contained in:
parent
9c2e8f0037
commit
8aa702dc97
2 changed files with 1 additions and 3 deletions
|
@ -13,7 +13,6 @@ namespace Microsoft.DotNet.Cli
|
|||
Create.Command("remove",
|
||||
".NET Remove Command",
|
||||
Accept.ExactlyOneArgument()
|
||||
.ExistingFilesOnly()
|
||||
.DefaultToCurrentDirectory()
|
||||
.With(name: "PROJECT",
|
||||
description: CommonLocalizableStrings.ArgumentsProjectDescription)
|
||||
|
|
|
@ -138,8 +138,7 @@ Options:
|
|||
.WithProject("one two three")
|
||||
.Execute("proj.csproj");
|
||||
cmd.ExitCode.Should().NotBe(0);
|
||||
cmd.StdErr.Should().Be("Unrecognized command or argument 'two'");
|
||||
cmd.StdOut.Should().Be("Specify --help for a list of available options and commands.");
|
||||
cmd.StdErr.Should().BeVisuallyEquivalentTo("Unrecognized command or argument 'two'\r\nUnrecognized command or argument 'three'");
|
||||
}
|
||||
|
||||
[Theory]
|
||||
|
|
Loading…
Add table
Reference in a new issue