mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-06 12:03:19 +00:00
aaaand format the code
This commit is contained in:
@@ -10,7 +10,7 @@ namespace Octokit.Tests.Integration
|
||||
{
|
||||
readonly IMessageSink diagnosticMessageSink;
|
||||
|
||||
public OrganizationTestDiscoverer(IMessageSink diagnosticMessageSink)
|
||||
public OrganizationTestDiscoverer(IMessageSink diagnosticMessageSink)
|
||||
{
|
||||
this.diagnosticMessageSink = diagnosticMessageSink;
|
||||
}
|
||||
|
||||
@@ -18,7 +18,7 @@ namespace Octokit.Tests.Integration
|
||||
public IEnumerable<IXunitTestCase> Discover(ITestFrameworkDiscoveryOptions discoveryOptions, ITestMethod testMethod, IAttributeInfo factAttribute)
|
||||
{
|
||||
return Helper.IsUsingToken
|
||||
? new[] { new XunitTestCase(diagnosticMessageSink, discoveryOptions.MethodDisplayOrDefault(), testMethod) }
|
||||
? new[] { new XunitTestCase(diagnosticMessageSink, discoveryOptions.MethodDisplayOrDefault(), testMethod) }
|
||||
: Enumerable.Empty<IXunitTestCase>();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -60,6 +60,5 @@ namespace Octokit.Tests.Integration.Helpers
|
||||
// create branch
|
||||
return await client.GitDatabase.Reference.Create(repository.Owner.Login, repository.Name, new NewReference("refs/heads/my-branch", featureBranchCommit.Sha));
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user