Skip to content

Commit

Permalink
Fixed compile error. #966
Browse files Browse the repository at this point in the history
  • Loading branch information
dotnetjunkie committed Jan 5, 2024
1 parent 922dc8b commit bec51f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/SimpleInjector.Tests.Unit/FlowingScopeTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -418,8 +418,8 @@ public class ResolvingFromScopesInCtor<TService> where TService : class

public ResolvingFromScopesInCtor(Container container)
{
var scope1 = new Scope(container) { Name = "Scope1" };
var scope2 = new Scope(container) { Name = "Scope2" };
var scope1 = new Scope(container);
var scope2 = new Scope(container);

this.Service1 = scope1.GetInstance<TService>();
this.Service2 = scope2.GetInstance<TService>();
Expand Down

0 comments on commit bec51f8

Please sign in to comment.