public void ParseDownloadUrl() { var gitHub = new GitHubApi(); var task = Task.Run(() => gitHub.GetLatestReleaseJSONAsync(User, Repo)); var json = task.Result; var url = GitHubApi.ParseDownloadUrl(json); Assert.AreNotEqual(0, url.Length); }
public void ParseDownloadUrl() { var gitHub = new GitHubApi(); var task = Task.Run(() => gitHub.GetLatestReleaseJSONAsync(User, Repo)); var json = task.Result; var url = GitHubApi.ParseDownloadUrl(json); Assert.AreNotEqual(0, url.Length); }