Make dotnet-help.Tests pass on localized setup
This commit is contained in:
parent
6e0cfa7839
commit
419562ba95
5 changed files with 29 additions and 5 deletions
|
@ -31,7 +31,7 @@ Options:
|
|||
var cmd = new HelpCommand()
|
||||
.ExecuteWithCapturedOutput($"{helpArg}");
|
||||
cmd.Should().Pass();
|
||||
cmd.StdOut.Should().ContainVisuallySameFragment(HelpText);
|
||||
cmd.StdOut.Should().ContainVisuallySameFragmentIfNotLocalized(HelpText);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue