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",
".NET Remove Command",
Accept.ExactlyOneArgument()
.ExistingFilesOnly()
.DefaultToCurrentDirectory()
.With(name: "PROJECT",
description: CommonLocalizableStrings.ArgumentsProjectDescription)

View file

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