new parser version, adjust column spacing in tests
This commit is contained in:
parent
94bc781df7
commit
4a2c3932e7
6 changed files with 18 additions and 18 deletions
|
@ -19,12 +19,12 @@ namespace Microsoft.DotNet.Cli.Add.Reference.Tests
|
|||
Usage: dotnet add <PROJECT> reference [options] <args>
|
||||
|
||||
Arguments:
|
||||
<PROJECT> The project file to operate on. If a file is not specified, the command will search the current directory for one.
|
||||
<args> Project to project references to add
|
||||
<PROJECT> The project file to operate on. If a file is not specified, the command will search the current directory for one.
|
||||
<args> Project to project references to add
|
||||
|
||||
Options:
|
||||
-h, --help Show help information
|
||||
-f, --framework <FRAMEWORK> Add reference only when targeting a specific framework
|
||||
-h, --help Show help information
|
||||
-f, --framework <FRAMEWORK> Add reference only when targeting a specific framework
|
||||
";
|
||||
|
||||
const string FrameworkNet451Arg = "-f net451";
|
||||
|
|
|
@ -18,10 +18,10 @@ namespace Microsoft.DotNet.Cli.List.Reference.Tests
|
|||
Usage: dotnet list <PROJECT> reference [options]
|
||||
|
||||
Arguments:
|
||||
<PROJECT> The project file to operate on. If a file is not specified, the command will search the current directory for one.
|
||||
<PROJECT> The project file to operate on. If a file is not specified, the command will search the current directory for one.
|
||||
|
||||
Options:
|
||||
-h, --help Show help information
|
||||
-h, --help Show help information
|
||||
";
|
||||
|
||||
const string FrameworkNet451Arg = "-f net451";
|
||||
|
|
|
@ -18,12 +18,12 @@ namespace Microsoft.DotNet.Cli.Remove.Reference.Tests
|
|||
Usage: dotnet remove <PROJECT> reference [options] <args>
|
||||
|
||||
Arguments:
|
||||
<PROJECT> The project file to operate on. If a file is not specified, the command will search the current directory for one.
|
||||
<args> Project to project references to remove
|
||||
<PROJECT> The project file to operate on. If a file is not specified, the command will search the current directory for one.
|
||||
<args> Project to project references to remove
|
||||
|
||||
Options:
|
||||
-h, --help Show help information
|
||||
-f, --framework <FRAMEWORK> Remove reference only when targeting a specific framework
|
||||
-h, --help Show help information
|
||||
-f, --framework <FRAMEWORK> Remove reference only when targeting a specific framework
|
||||
";
|
||||
|
||||
const string FrameworkNet451Arg = "-f net451";
|
||||
|
|
|
@ -20,11 +20,11 @@ namespace Microsoft.DotNet.Cli.Sln.Add.Tests
|
|||
Usage: dotnet sln <SLN_FILE> add [options] <args>
|
||||
|
||||
Arguments:
|
||||
<SLN_FILE> Solution file to operate on. If not specified, the command will search the current directory for one.
|
||||
<args> Add one or more specified projects to the solution.
|
||||
<SLN_FILE> Solution file to operate on. If not specified, the command will search the current directory for one.
|
||||
<args> Add one or more specified projects to the solution.
|
||||
|
||||
Options:
|
||||
-h, --help Show help information
|
||||
-h, --help Show help information
|
||||
";
|
||||
private ITestOutputHelper _output;
|
||||
|
||||
|
|
|
@ -18,10 +18,10 @@ namespace Microsoft.DotNet.Cli.Sln.List.Tests
|
|||
Usage: dotnet sln <SLN_FILE> list [options]
|
||||
|
||||
Arguments:
|
||||
<SLN_FILE> Solution file to operate on. If not specified, the command will search the current directory for one.
|
||||
<SLN_FILE> Solution file to operate on. If not specified, the command will search the current directory for one.
|
||||
|
||||
Options:
|
||||
-h, --help Show help information
|
||||
-h, --help Show help information
|
||||
";
|
||||
|
||||
[Theory]
|
||||
|
|
|
@ -18,11 +18,11 @@ namespace Microsoft.DotNet.Cli.Sln.Remove.Tests
|
|||
Usage: dotnet sln <SLN_FILE> remove [options] <args>
|
||||
|
||||
Arguments:
|
||||
<SLN_FILE> Solution file to operate on. If not specified, the command will search the current directory for one.
|
||||
<args> Remove the specified project(s) from the solution. The project is not impacted.
|
||||
<SLN_FILE> Solution file to operate on. If not specified, the command will search the current directory for one.
|
||||
<args> Remove the specified project(s) from the solution. The project is not impacted.
|
||||
|
||||
Options:
|
||||
-h, --help Show help information
|
||||
-h, --help Show help information
|
||||
";
|
||||
|
||||
private const string ExpectedSlnContentsAfterRemove = @"
|
||||
|
|
Loading…
Reference in a new issue