Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
CyrusNajmabadi authored Feb 5, 2025
1 parent 63ddf57 commit 1c056f7
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,6 @@ void Goo3() { }
var project = workspace.CurrentSolution.Projects.Single();
var searchService = project.GetRequiredLanguageService<INavigateToSearchService>();

// Ensure that returning null for the search service doesn't crash.
hostMock.Setup(h => h.GetNavigateToSearchService(It.IsAny<Project>())).Returns(() => searchService);

var callback = new TestNavigateToSearchCallback();
Expand Down Expand Up @@ -452,7 +451,6 @@ void Goo3() { }
var project = workspace.CurrentSolution.Projects.Single();
var searchService = project.GetRequiredLanguageService<INavigateToSearchService>();

// Ensure that returning null for the search service doesn't crash.
hostMock.Setup(h => h.GetNavigateToSearchService(It.IsAny<Project>())).Returns(() => searchService);

var callback = new TestNavigateToSearchCallback();
Expand Down

0 comments on commit 1c056f7

Please sign in to comment.