Skip to content

Commit

Permalink
Better describe the issue
Browse files Browse the repository at this point in the history
  • Loading branch information
AlonTalmi committed Dec 20, 2023
1 parent 21833e0 commit 6f40196
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/Jab.FunctionalTests.Common/ContainerTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1276,15 +1276,17 @@ internal partial class SupportsNamedServicesContainer
}

[Fact]
public void SupportsScopedValueType()
public void SupportsNoneTransientValueType()
{
SupportsScopedValueTypeContainer c = new();
SupportsNoneTransientValueTypeContainer c = new();
Assert.IsType<int>(c.GetService<int>());
Assert.IsType<float>(c.GetService<float>());
}

[ServiceProvider]
[Scoped(typeof(int))]
internal partial class SupportsScopedValueTypeContainer
[Singleton(typeof(float))]
internal partial class SupportsNoneTransientValueTypeContainer
{
}
}
Expand Down

0 comments on commit 6f40196

Please sign in to comment.