mirror of
https://github.com/zoriya/octokit.net.git
synced 2025-12-06 07:16:09 +00:00
Redundant commas in object initializer were removed.
This commit is contained in:
@@ -297,7 +297,7 @@ public class IssuesClientTests : IDisposable
|
||||
|
||||
var newIssue = new NewIssue("A test issue1")
|
||||
{
|
||||
Body = "A new unassigned issue",
|
||||
Body = "A new unassigned issue"
|
||||
};
|
||||
newIssue.Labels.Add("something");
|
||||
|
||||
@@ -320,7 +320,7 @@ public class IssuesClientTests : IDisposable
|
||||
// setup us the issue
|
||||
var newIssue = new NewIssue("A test issue1")
|
||||
{
|
||||
Body = "A new unassigned issue",
|
||||
Body = "A new unassigned issue"
|
||||
};
|
||||
newIssue.Labels.Add("something");
|
||||
|
||||
@@ -345,7 +345,7 @@ public class IssuesClientTests : IDisposable
|
||||
// setup us the issue
|
||||
var newIssue = new NewIssue("A test issue1")
|
||||
{
|
||||
Body = "A new unassigned issue",
|
||||
Body = "A new unassigned issue"
|
||||
};
|
||||
newIssue.Labels.Add("something");
|
||||
newIssue.Labels.Add("another thing");
|
||||
|
||||
@@ -249,7 +249,7 @@ public class PullRequestReviewCommentsClientTests : IDisposable
|
||||
var data = new PullRequestData
|
||||
{
|
||||
Sha = createdCommitInBranch.Sha,
|
||||
Number = createdPullRequest.Number,
|
||||
Number = createdPullRequest.Number
|
||||
};
|
||||
|
||||
return data;
|
||||
@@ -273,7 +273,7 @@ public class PullRequestReviewCommentsClientTests : IDisposable
|
||||
Type = TreeType.Blob,
|
||||
Mode = FileMode.File,
|
||||
Path = treePath,
|
||||
Sha = createdBlob.Sha,
|
||||
Sha = createdBlob.Sha
|
||||
});
|
||||
|
||||
var createdTree = await _github.Git.Tree.Create(Helper.UserName, repoName, newTree);
|
||||
|
||||
@@ -82,7 +82,7 @@ public class RepositoryCommitsClientTests
|
||||
var startOptions = new ApiOptions
|
||||
{
|
||||
PageSize = 5,
|
||||
PageCount = 1,
|
||||
PageCount = 1
|
||||
};
|
||||
|
||||
var skipStartOptions = new ApiOptions
|
||||
|
||||
@@ -51,7 +51,7 @@ namespace Octokit.Tests.Integration.Reactive
|
||||
var startOptions = new ApiOptions
|
||||
{
|
||||
PageSize = 5,
|
||||
PageCount = 1,
|
||||
PageCount = 1
|
||||
};
|
||||
|
||||
var skipStartOptions = new ApiOptions
|
||||
|
||||
@@ -36,7 +36,7 @@ namespace Octokit.Tests.Http
|
||||
},
|
||||
new List<string>
|
||||
{
|
||||
"user",
|
||||
"user"
|
||||
},
|
||||
new List<string>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user