change test's expected text

This commit is contained in:
jonsequitur 2017-03-16 13:34:12 -07:00
parent 973021b214
commit e5d7fb8236

View file

@ -201,8 +201,7 @@ EndGlobal
var cmd = new DotnetCommand() var cmd = new DotnetCommand()
.ExecuteWithCapturedOutput("sln one.sln two.sln three.sln add"); .ExecuteWithCapturedOutput("sln one.sln two.sln three.sln add");
cmd.Should().Fail(); cmd.Should().Fail();
cmd.StdErr.Should().Be("Unrecognized command or argument 'two.sln'"); cmd.StdErr.Should().BeVisuallyEquivalentTo("Unrecognized command or argument 'two.sln'\r\nUnrecognized command or argument 'three.sln'\r\nYou must specify at least one project to add.");
cmd.StdOut.Should().Be("Specify --help for a list of available options and commands.");
} }
[Theory] [Theory]