Make dotnet-help.Tests pass on localized setup

This commit is contained in:
Nick Guerrera 2017-06-13 19:24:30 -07:00
parent 6e0cfa7839
commit 419562ba95
5 changed files with 29 additions and 5 deletions

View file

@ -31,7 +31,7 @@ Options:
var cmd = new HelpCommand()
.ExecuteWithCapturedOutput($"{helpArg}");
cmd.Should().Pass();
cmd.StdOut.Should().ContainVisuallySameFragment(HelpText);
cmd.StdOut.Should().ContainVisuallySameFragmentIfNotLocalized(HelpText);
}
}
}