More I_can_try pattern in tests

This commit is contained in:
Tyrrrz
2023-11-11 22:51:42 +02:00
parent 0fe9c89fa0
commit ff06b8896f
2 changed files with 3 additions and 3 deletions

View File

@@ -55,7 +55,7 @@ public class ApplicationSpecs : SpecsBase
} }
[Fact] [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 // Act
var app = new CliApplicationBuilder() var app = new CliApplicationBuilder()

View File

@@ -763,7 +763,7 @@ public class ConversionSpecs : SpecsBase
} }
[Fact] [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 // Arrange
var commandType = DynamicCommandBuilder.Compile( var commandType = DynamicCommandBuilder.Compile(
@@ -803,7 +803,7 @@ public class ConversionSpecs : SpecsBase
} }
[Fact] [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 // Arrange
var commandType = DynamicCommandBuilder.Compile( var commandType = DynamicCommandBuilder.Compile(