diff --git a/Directory.Packages.props b/Directory.Packages.props index db3de5814..dac4c8084 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -20,12 +20,12 @@ - + - - - + + + @@ -33,5 +33,5 @@ - - + + \ No newline at end of file diff --git a/src/System.CommandLine.Tests/CompletionTests.cs b/src/System.CommandLine.Tests/CompletionTests.cs index 9f13327c0..84d931f86 100644 --- a/src/System.CommandLine.Tests/CompletionTests.cs +++ b/src/System.CommandLine.Tests/CompletionTests.cs @@ -784,12 +784,12 @@ public void When_parsing_from_text_if_the_proximate_option_is_completed_then_com { var command = new RootCommand { - CreateOptionWithAcceptOnlyFromAmong(name: "--framework", "net7.0"), + CreateOptionWithAcceptOnlyFromAmong(name: "--framework", "net8.0"), CreateOptionWithAcceptOnlyFromAmong(name: "--language", "C#"), new Option("--langVersion") }; var configuration = new CommandLineConfiguration(command); - var completions = command.Parse("--framework net7.0 --l", configuration).GetCompletions(); + var completions = command.Parse("--framework net8.0 --l", configuration).GetCompletions(); completions.Select(item => item.Label) .Should() @@ -801,12 +801,12 @@ public void When_parsing_from_array_if_the_proximate_option_is_completed_then_co { var command = new RootCommand { - CreateOptionWithAcceptOnlyFromAmong(name: "--framework", "net7.0"), + CreateOptionWithAcceptOnlyFromAmong(name: "--framework", "net8.0"), CreateOptionWithAcceptOnlyFromAmong(name: "--language", "C#"), new Option("--langVersion") }; var configuration = new CommandLineConfiguration(command); - var completions = command.Parse(new[]{"--framework","net7.0","--l"}, configuration).GetCompletions(); + var completions = command.Parse(new[]{"--framework","net8.0","--l"}, configuration).GetCompletions(); completions.Select(item => item.Label) .Should()