Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Unskip include-tag related fetch tests
Due to a recent GitHub policy change, those tests now pass
  • Loading branch information
nulltoken committed Mar 18, 2015
1 parent 3b0f7e1 commit afbe73e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions LibGit2Sharp.Tests/FetchFixture.cs
Expand Up @@ -10,7 +10,7 @@ public class FetchFixture : BaseFixture
{
private const string remoteName = "testRemote";

[Theory(Skip = "Skipping due to recent github handling modification of --include-tag.")]
[Theory]
[InlineData("http://github.com/libgit2/TestGitRepository")]
[InlineData("https://github.com/libgit2/TestGitRepository")]
[InlineData("git://github.com/libgit2/TestGitRepository.git")]
Expand Down Expand Up @@ -150,7 +150,7 @@ public void CanFetchCustomRefSpecsIntoAnEmptyRepository(string url, string local
[Theory]
[InlineData(TagFetchMode.All, 4)]
[InlineData(TagFetchMode.None, 0)]
//[InlineData(TagFetchMode.Auto, 3)] // TODO: Skipping due to github modification of --include-tag handling."
[InlineData(TagFetchMode.Auto, 3)]
public void FetchRespectsConfiguredAutoTagSetting(TagFetchMode tagFetchMode, int expectedTagCount)
{
string url = "http://github.com/libgit2/TestGitRepository";
Expand Down
2 changes: 1 addition & 1 deletion LibGit2Sharp.Tests/RepositoryFixture.cs
Expand Up @@ -150,7 +150,7 @@ private static void AssertIsHidden(string repoPath)
Assert.Equal(FileAttributes.Hidden, (attribs & FileAttributes.Hidden));
}

[Fact(Skip = "Skipping due to recent github handling modification of --include-tag.")]
[Fact]
public void CanFetchFromRemoteByName()
{
string remoteName = "testRemote";
Expand Down
2 changes: 1 addition & 1 deletion LibGit2Sharp.Tests/SmartSubtransportFixture.cs
Expand Up @@ -55,7 +55,7 @@ public void CustomSmartSubtransportTest(string scheme, string url)
}

// Add the expected tags
string[] expectedTagNames = { "blob", "commit_tree" };
string[] expectedTagNames = { "blob", "commit_tree", "annotated_tag" };
foreach (string tagName in expectedTagNames)
{
TestRemoteInfo.ExpectedTagInfo expectedTagInfo = expectedResults.Tags[tagName];
Expand Down

0 comments on commit afbe73e

Please sign in to comment.