Skip to content

Commit

Permalink
No need to interface it
Browse files Browse the repository at this point in the history
  • Loading branch information
Forgind committed Sep 12, 2023
1 parent 71d5928 commit dc6b872
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ public void GivenNoWorkloadsInstalledInfoOptionRemarksOnThat()
var workloadResolver = WorkloadResolver.CreateForTests(new MockManifestProvider(new[] { _manifestPath }), dotnetRoot);
var parseResult = Parser.Instance.Parse(new string[] { "dotnet", "workload", "install", "xamarin-android" });

IWorkloadInfoHelper workloadInfoHelper = new WorkloadInfoHelper(isInteractive: false, workloadResolver: workloadResolver);
WorkloadInfoHelper workloadInfoHelper = new WorkloadInfoHelper(isInteractive: false, workloadResolver: workloadResolver);
WorkloadCommandParser.ShowWorkloadsInfo(parseResult, workloadInfoHelper: workloadInfoHelper, reporter: _reporter);
_reporter.Lines.Should().Contain("There are no installed workloads to display.");
}
Expand Down

0 comments on commit dc6b872

Please sign in to comment.