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",
|
Create.Command("remove",
|
||||||
".NET Remove Command",
|
".NET Remove Command",
|
||||||
Accept.ExactlyOneArgument()
|
Accept.ExactlyOneArgument()
|
||||||
.ExistingFilesOnly()
|
|
||||||
.DefaultToCurrentDirectory()
|
.DefaultToCurrentDirectory()
|
||||||
.With(name: "PROJECT",
|
.With(name: "PROJECT",
|
||||||
description: CommonLocalizableStrings.ArgumentsProjectDescription)
|
description: CommonLocalizableStrings.ArgumentsProjectDescription)
|
||||||
|
|
|
@ -138,8 +138,7 @@ Options:
|
||||||
.WithProject("one two three")
|
.WithProject("one two three")
|
||||||
.Execute("proj.csproj");
|
.Execute("proj.csproj");
|
||||||
cmd.ExitCode.Should().NotBe(0);
|
cmd.ExitCode.Should().NotBe(0);
|
||||||
cmd.StdErr.Should().Be("Unrecognized command or argument 'two'");
|
cmd.StdErr.Should().BeVisuallyEquivalentTo("Unrecognized command or argument 'two'\r\nUnrecognized command or argument 'three'");
|
||||||
cmd.StdOut.Should().Be("Specify --help for a list of available options and commands.");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
[Theory]
|
[Theory]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue