Skip to content

Commit 7cf6130

Browse files
tannergoodingjonsequitur
authored andcommitted
Fixing the DragonFruit tests to expect the new maximum arities
1 parent 9bc3f56 commit 7cf6130

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/System.CommandLine.DragonFruit.Tests/ConfigureFromMethodTests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,11 @@ public async Task Single_character_parameters_generate_aliases_that_accept_a_sin
7373
[InlineData(nameof(Method_having_string_argument), 1, 1)]
7474
[InlineData(nameof(Method_having_string_argument_with_null_default_value), 0, 1)]
7575
[InlineData(nameof(Method_having_string_argument_with_non_null_default_value), 0, 1)]
76-
[InlineData(nameof(Method_having_string_array_arguments), 0, byte.MaxValue)]
77-
[InlineData(nameof(Method_having_string_array_arguments_with_default_value), 0, byte.MaxValue)]
76+
[InlineData(nameof(Method_having_string_array_arguments), 0, int.MaxValue)]
77+
[InlineData(nameof(Method_having_string_array_arguments_with_default_value), 0, int.MaxValue)]
7878
[InlineData(nameof(Method_having_FileInfo_argument), 1, 1)]
7979
[InlineData(nameof(Method_having_FileInfo_argument_with_default_value), 0, 1)]
80-
[InlineData(nameof(Method_having_FileInfo_array_args), 0, byte.MaxValue)]
80+
[InlineData(nameof(Method_having_FileInfo_array_args), 0, int.MaxValue)]
8181
public void Parameters_named_arguments_generate_command_arguments_having_the_correct_arity(
8282
string methodName,
8383
int minNumberOfValues,

0 commit comments

Comments
 (0)