mirror of
https://github.com/Tyrrrz/CliFx.git
synced 2025-10-25 15:19:17 +00:00
More I_can_try pattern in tests
This commit is contained in:
@@ -55,7 +55,7 @@ public class ApplicationSpecs : SpecsBase
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public async Task I_cannot_add_an_invalid_command_to_the_application()
|
||||
public async Task I_can_try_to_create_an_application_and_get_an_error_if_it_has_invalid_commands()
|
||||
{
|
||||
// Act
|
||||
var app = new CliApplicationBuilder()
|
||||
|
||||
@@ -763,7 +763,7 @@ public class ConversionSpecs : SpecsBase
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public async Task I_cannot_bind_a_parameter_or_an_option_to_a_property_of_an_unsupported_type()
|
||||
public async Task I_can_try_to_bind_a_parameter_or_an_option_to_a_property_and_get_an_error_if_it_is_of_an_unsupported_type()
|
||||
{
|
||||
// Arrange
|
||||
var commandType = DynamicCommandBuilder.Compile(
|
||||
@@ -803,7 +803,7 @@ public class ConversionSpecs : SpecsBase
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public async Task I_cannot_bind_a_parameter_or_an_option_to_a_non_scalar_property_of_an_unsupported_type()
|
||||
public async Task I_can_try_to_bind_a_parameter_or_an_option_to_a_non_scalar_property_and_get_an_error_if_it_is_of_an_unsupported_type()
|
||||
{
|
||||
// Arrange
|
||||
var commandType = DynamicCommandBuilder.Compile(
|
||||
|
||||
Reference in New Issue
Block a user