mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-05 19:46:07 +00:00
update SearchCodeRequest to use collection for Repos
This commit is contained in:
@@ -36,8 +36,8 @@ public class SearchClientTests
|
||||
[Fact]
|
||||
public async Task SearchForFunctionInCode()
|
||||
{
|
||||
var request = new SearchCodeRequest("addClass");
|
||||
request.Repo = "jquery/jquery";
|
||||
var request = new SearchCodeRequest("addClass", "jquery", "jquery");
|
||||
|
||||
var repos = await _gitHubClient.Search.SearchCode(request);
|
||||
|
||||
Assert.NotEmpty(repos.Items);
|
||||
|
||||
Reference in New Issue
Block a user