reverted SpecifyExactlyOnePackageReference string

This commit is contained in:
Maira Wenzel 2017-03-16 16:10:48 -07:00
parent 9b06921b75
commit 1ee9529203
2 changed files with 2 additions and 2 deletions

View file

@ -11,7 +11,7 @@ namespace Microsoft.DotNet.Tools.Add.PackageReference
public const string CmdPackageDescription = "The package reference to add.";
public const string SpecifyExactlyOnePackageReference = "Please specify only one package reference to be added.";
public const string SpecifyExactlyOnePackageReference = "Please specify one package reference to add.";
public const string CmdFrameworkDescription = "Adds reference only when targeting a specific framework.";

View file

@ -130,7 +130,7 @@ namespace Microsoft.DotNet.Cli.Package.Add.Tests
.WithWorkingDirectory(projectDirectory)
.ExecuteWithCapturedOutput($"add package package1 package2 package3");
cmd.Should().Fail();
cmd.StdErr.Should().Contain("Please specify only one package reference to be added.");
cmd.StdErr.Should().Contain("Please specify one package reference to add.");
}
[Fact]