change test's expected text
This commit is contained in:
parent
973021b214
commit
e5d7fb8236
1 changed files with 1 additions and 2 deletions
|
@ -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]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue