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