Skip to content

Commit 2fc1537

Browse files
authored
Remove no longer used TestOptions.Configuration (#47703)
1 parent a62fc40 commit 2fc1537

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/Cli/dotnet/commands/dotnet-test/Options.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
namespace Microsoft.DotNet.Cli;
55

6-
internal record TestOptions(string Configuration, string Architecture, bool HasFilterMode, bool IsHelp);
6+
internal record TestOptions(string Architecture, bool HasFilterMode, bool IsHelp);
77

88
internal record PathOptions(string ProjectPath, string SolutionPath, string DirectoryPath);
99

src/Cli/dotnet/commands/dotnet-test/TestingPlatformCommand.cs

+1-2
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,7 @@ private static int GetDegreeOfParallelism(ParseResult parseResult)
167167
}
168168

169169
private static TestOptions GetTestOptions(ParseResult parseResult, bool hasFilterMode, bool isHelp) =>
170-
new(parseResult.GetValue(TestingPlatformOptions.ConfigurationOption),
171-
parseResult.GetValue(CommonOptions.ArchitectureOption),
170+
new(parseResult.GetValue(CommonOptions.ArchitectureOption),
172171
hasFilterMode,
173172
isHelp);
174173

0 commit comments

Comments
 (0)