Skip to content

Commit

Permalink
Added failing/skipped test for #925.
Browse files Browse the repository at this point in the history
  • Loading branch information
tillig committed Jul 30, 2018
1 parent ac840a2 commit 54baabe
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions test/Autofac.Test/Features/ResolveAnything/ResolveAnythingTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,16 @@ public void ConstructableOpenGenericsCanBeResolved()
Assert.NotNull(container.Resolve<Progress<Exception>>());
}

[Fact(Skip = "Issue #925")]
public void ConstructableOpenGenericsWithUnresolvableTypeParametersCanBeResolved()
{
var container = CreateResolveAnythingContainer();
Assert.True(container.IsRegistered<Progress<IComparable>>());
Assert.NotNull(container.Resolve<Progress<IComparable>>());
Assert.True(container.IsRegistered<Progress<AbstractType>>());
Assert.NotNull(container.Resolve<Progress<AbstractType>>());
}

[Fact]
public void ConstructableOpenGenericsWithGenericTypeArgumentNotMatchingFilterCanBeResolved()
{
Expand Down

0 comments on commit 54baabe

Please sign in to comment.