Redirect parser to localized validation messages
This commit is contained in:
parent
0353374f10
commit
9b77dc50f1
24 changed files with 881 additions and 9 deletions
|
@ -66,7 +66,8 @@ Commands:
|
|||
var cmd = new DotnetCommand()
|
||||
.ExecuteWithCapturedOutput("sln one.sln two.sln three.sln list");
|
||||
cmd.Should().Fail();
|
||||
cmd.StdErr.Should().BeVisuallyEquivalentTo("Unrecognized command or argument 'two.sln'\r\nUnrecognized command or argument 'three.sln'");
|
||||
cmd.StdErr.Should().BeVisuallyEquivalentTo($@"{string.Format(CommandLine.LocalizableStrings.UnrecognizedCommandOrArgument, "two.sln")}
|
||||
{string.Format(CommandLine.LocalizableStrings.UnrecognizedCommandOrArgument, "three.sln")}");
|
||||
}
|
||||
|
||||
[Theory]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue