text fixes for dotnet remove

This commit is contained in:
jonsequitur 2017-03-16 10:46:08 -07:00
parent 9c2e8f0037
commit 8aa702dc97
2 changed files with 1 additions and 3 deletions

View file

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

View file

@ -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]