Skip to content

Commit

Permalink
Merge branch 'navToRelatedDocuments' of https://github.com/CyrusNajma…
Browse files Browse the repository at this point in the history
…badi/roslyn into navToRelatedDocuments
  • Loading branch information
CyrusNajmabadi committed Feb 5, 2025
2 parents 23b0bd3 + 1c056f7 commit c0a61b7
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 c0a61b7

Please sign in to comment.