Skip to content

Commit 4847bba

Browse files
committed
add compensating change to tool-related tests
1 parent d101bee commit 4847bba

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/dotnet.Tests/CommandTests/Tool/Install/ToolInstallGlobalOrToolPathCommandTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public void WhenPassingRestoreActionConfigOptions()
8989
{
9090
var parseResult = Parser.Parse($"dotnet tool install -g {PackageId} --ignore-failed-sources");
9191
var toolInstallCommand = new ToolInstallGlobalOrToolPathCommand(parseResult);
92-
toolInstallCommand.restoreActionConfig.IgnoreFailedSources.Should().BeTrue();
92+
toolInstallCommand._restoreActionConfig.IgnoreFailedSources.Should().BeTrue();
9393
}
9494

9595
[Fact]

test/dotnet.Tests/CommandTests/Tool/Update/ToolUpdateGlobalOrToolPathCommandTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ public void WhenPassingRestoreActionConfigOptions()
108108
{
109109
var parseResult = Parser.Parse($"dotnet tool update -g {_packageId} --ignore-failed-sources");
110110
var toolUpdateCommand = new ToolUpdateGlobalOrToolPathCommand(parseResult);
111-
toolUpdateCommand._toolInstallGlobalOrToolPathCommand.restoreActionConfig.IgnoreFailedSources.Should().BeTrue();
111+
toolUpdateCommand._toolInstallGlobalOrToolPathCommand._restoreActionConfig.IgnoreFailedSources.Should().BeTrue();
112112
}
113113

114114
[Fact]

0 commit comments

Comments
 (0)