aaaand format the code

This commit is contained in:
Brendan Forster
2015-11-04 13:38:51 -08:00
parent 3305dfcf4f
commit 80719c0033
199 changed files with 442 additions and 438 deletions
+4 -5
View File
@@ -19,7 +19,7 @@ namespace Octokit.Tests.Http
[Fact]
public void ParsesRateLimitsFromHeaders()
{
var headers = new Dictionary<string, string>
var headers = new Dictionary<string, string>
{
{ "X-RateLimit-Limit", "100" },
{ "X-RateLimit-Remaining", "42" },
@@ -40,7 +40,7 @@ namespace Octokit.Tests.Http
[Fact]
public void HandlesInvalidHeaderValues()
{
var headers = new Dictionary<string, string>
var headers = new Dictionary<string, string>
{
{ "X-RateLimit-Limit", "1234scoobysnacks1234" },
{ "X-RateLimit-Remaining", "xanadu" },
@@ -78,7 +78,7 @@ namespace Octokit.Tests.Http
[Fact]
public void CanPopulateObjectFromSerializedData()
{
var headers = new Dictionary<string, string>
var headers = new Dictionary<string, string>
{
{ "X-RateLimit-Limit", "100" },
{ "X-RateLimit-Remaining", "42" },
@@ -92,7 +92,7 @@ namespace Octokit.Tests.Http
var formatter = new BinaryFormatter();
formatter.Serialize(stream, rateLimit);
stream.Position = 0;
var deserialized = (RateLimit) formatter.Deserialize(stream);
var deserialized = (RateLimit)formatter.Deserialize(stream);
Assert.Equal(100, deserialized.Limit);
Assert.Equal(42, deserialized.Remaining);
@@ -109,7 +109,6 @@ namespace Octokit.Tests.Http
{
Assert.Throws<ArgumentNullException>(() => new RateLimit(null));
}
}
public class TheMethods