Skip to content

Commit 8b43cad

Browse files
committed
Test fixes
1 parent 717d45c commit 8b43cad

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

CSharpExt.UnitTests/Autofac/ValidatorTests.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public void ValidateEverything(Validator sut)
1919

2020
sut.ValidateEverything();
2121

22-
sut.ValidateTypes.Received(1).Validate(Arg.Is<IEnumerable<Type>>(x => x.SequenceEqual(typeof(string))));
22+
sut.ValidateTypes.Received(1).Validate(Arg.Is<IEnumerable<Type>>(x => x.SequenceEqualToItems(typeof(string))));
2323
sut.ReferenceChecker.Received(1).Check();
2424
}
2525

@@ -37,7 +37,7 @@ public void ValidateEverythingRespectsSkip(Validator sut)
3737

3838
sut.ValidateEverything();
3939

40-
sut.ValidateTypes.Received(1).Validate(Arg.Is<IEnumerable<Type>>(x => x.SequenceEqual(typeof(string))));
40+
sut.ValidateTypes.Received(1).Validate(Arg.Is<IEnumerable<Type>>(x => x.SequenceEqualToItems(typeof(string))));
4141
sut.ReferenceChecker.Received(1).Check();
4242
}
4343

@@ -51,7 +51,7 @@ public void Validate(Validator sut)
5151

5252
sut.Validate(typeof(double), typeof(float));
5353

54-
sut.ValidateTypes.Received(1).Validate(Arg.Is<IEnumerable<Type>>(x => x.SequenceEqual(typeof(double), typeof(float))));
54+
sut.ValidateTypes.Received(1).Validate(Arg.Is<IEnumerable<Type>>(x => x.SequenceEqualToItems(typeof(double), typeof(float))));
5555
sut.ShouldSkip.DidNotReceiveWithAnyArgs().ShouldSkip(default!);
5656
sut.ReferenceChecker.Received(1).Check();
5757
}

0 commit comments

Comments
 (0)