mirror of
https://github.com/zoriya/octokit.net.git
synced 2025-12-06 07:16:09 +00:00
fix gist test and remove some whitespace
This commit is contained in:
@@ -27,6 +27,5 @@ namespace Octokit.Tests.Integration
|
||||
var retrieved = await this._gistsClient.Get(6305249);
|
||||
Assert.NotNull(retrieved);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using NSubstitute;
|
||||
using Octokit;
|
||||
using Xunit;
|
||||
@@ -9,7 +7,6 @@ public class GistsClientTests
|
||||
{
|
||||
public class TheGetMethod
|
||||
{
|
||||
|
||||
[Fact]
|
||||
public void RequestsCorrectUrl()
|
||||
{
|
||||
@@ -18,7 +15,7 @@ public class GistsClientTests
|
||||
|
||||
client.Get(1);
|
||||
|
||||
connection.Received().Get<Gist>(Arg.Is<Uri>(u => u.ToString() == "repos/owner/repo/git/commits/reference"), null);
|
||||
connection.Received().Get<Gist>(Arg.Is<Uri>(u => u.ToString() == "gists/1"), null);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,5 @@ namespace Octokit
|
||||
{
|
||||
return ApiConnection.Get<Gist>(ApiUrls.Gist(id));
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user