From 4029fdcad8538bf990c46d1efa23ed2c5a71622f Mon Sep 17 00:00:00 2001 From: Peter MacNaughton Date: Tue, 21 Jan 2014 10:31:14 -0700 Subject: [PATCH] Formatting --- .../Clients/DeploymentStatusClientTests.cs | 16 +++++++-------- .../Clients/DeploymentsClientTests.cs | 20 +++++++++---------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/Octokit.Tests/Clients/DeploymentStatusClientTests.cs b/Octokit.Tests/Clients/DeploymentStatusClientTests.cs index 24b20cc0..a495245e 100644 --- a/Octokit.Tests/Clients/DeploymentStatusClientTests.cs +++ b/Octokit.Tests/Clients/DeploymentStatusClientTests.cs @@ -53,8 +53,8 @@ public class DeploymentStatusClientTests client.GetAll("owner", "name", 1); connection.Received().GetAll(Arg.Is(u => u.ToString() == expectedUrl), - Arg.Any>(), - Arg.Any()); + Arg.Any>(), + Arg.Any()); } [Fact] @@ -65,8 +65,8 @@ public class DeploymentStatusClientTests client.GetAll("owner", "name", 1); connection.Received().GetAll(Arg.Any(), - Arg.Any>(), - expectedAcceptsHeader); + Arg.Any>(), + expectedAcceptsHeader); } } @@ -120,8 +120,8 @@ public class DeploymentStatusClientTests client.Create("owner", "repo", 1, newDeploymentStatus); connection.Received().Post(Arg.Is(u => u.ToString() == expectedUrl), - Arg.Any(), - Arg.Any()); + Arg.Any(), + Arg.Any()); } [Fact] @@ -133,8 +133,8 @@ public class DeploymentStatusClientTests client.Create("owner", "repo", 1, newDeploymentStatus); connection.Received().Post(Arg.Any(), - Arg.Any(), - expectedAcceptsHeader); + Arg.Any(), + expectedAcceptsHeader); } } diff --git a/Octokit.Tests/Clients/DeploymentsClientTests.cs b/Octokit.Tests/Clients/DeploymentsClientTests.cs index b1e73f17..488dabb0 100644 --- a/Octokit.Tests/Clients/DeploymentsClientTests.cs +++ b/Octokit.Tests/Clients/DeploymentsClientTests.cs @@ -8,7 +8,7 @@ using Xunit.Extensions; public class DeploymentsClientTests { - const string expectedAcceptsHeader = "application/vnd.github.cannonball-preview+json"; + const string ExpectedAcceptHeader = "application/vnd.github.cannonball-preview+json"; public class TheGetAllMethod { @@ -53,8 +53,8 @@ public class DeploymentsClientTests client.GetAll("owner", "name"); connection.Received().GetAll(Arg.Is(u => u.ToString() == expectedUrl), - Arg.Any>(), - Arg.Any()); + Arg.Any>(), + Arg.Any()); } [Fact] @@ -65,8 +65,8 @@ public class DeploymentsClientTests client.GetAll("owner", "name"); connection.Received().GetAll(Arg.Any(), - Arg.Any>(), - expectedAcceptsHeader); + Arg.Any>(), + ExpectedAcceptHeader); } } @@ -116,8 +116,8 @@ public class DeploymentsClientTests client.Create("owner", "name", newDeployment); connection.Received().Post(Arg.Is(u => u.ToString() == expectedUrl), - Arg.Any(), - Arg.Any()); + Arg.Any(), + Arg.Any()); } [Fact] @@ -128,8 +128,8 @@ public class DeploymentsClientTests client.Create("owner", "name", newDeployment); connection.Received().Post(Arg.Any(), - newDeployment, - Arg.Any()); + newDeployment, + Arg.Any()); } [Fact] @@ -141,7 +141,7 @@ public class DeploymentsClientTests client.Create("owner", "name", newDeployment); connection.Received().Post(Arg.Any(), Arg.Any(), - Arg.Is(expectedAcceptsHeader)); + Arg.Is(ExpectedAcceptHeader)); } }