Move the help command it it's own class.
Also fix the help command to work with intrinsic commands.
This commit is contained in:
parent
f7cba8a630
commit
67b4012e45
4 changed files with 107 additions and 63 deletions
|
@ -169,6 +169,20 @@ namespace Microsoft.DotNet.Tests.EndToEnd
|
|||
TestExecutable(OutputDirectory, publishCommand.GetOutputExecutable(), s_expectedOutput);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void TestDotnetHelp()
|
||||
{
|
||||
var helpCommand = new HelpCommand();
|
||||
helpCommand.Execute().Should().Pass();
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void TestDotnetHelpBuild()
|
||||
{
|
||||
var helpCommand = new HelpCommand();
|
||||
helpCommand.Execute("build").Should().Pass();
|
||||
}
|
||||
|
||||
private void TestInstanceSetup()
|
||||
{
|
||||
var root = Temp.CreateDirectory();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue