Skip to content

Commit bec51f8

Browse files
committed
Fixed compile error. #966
1 parent 922dc8b commit bec51f8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/SimpleInjector.Tests.Unit/FlowingScopeTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -418,8 +418,8 @@ public class ResolvingFromScopesInCtor<TService> where TService : class
418418

419419
public ResolvingFromScopesInCtor(Container container)
420420
{
421-
var scope1 = new Scope(container) { Name = "Scope1" };
422-
var scope2 = new Scope(container) { Name = "Scope2" };
421+
var scope1 = new Scope(container);
422+
var scope2 = new Scope(container);
423423

424424
this.Service1 = scope1.GetInstance<TService>();
425425
this.Service2 = scope2.GetInstance<TService>();

0 commit comments

Comments
 (0)