Skip to content

Commit

Permalink
Fixed whitespace characters
Browse files Browse the repository at this point in the history
  • Loading branch information
Mihnea Rădulescu committed May 15, 2024
1 parent d44759e commit 2fcec33
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/NSubstitute/Core/Extensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ private static IReadOnlyList<Type> GetCompatibleTypes(Type type)
var baseType = type.BaseType;
var interfacesOfType = type.GetInterfaces();

List<Type> compatibleTypes = [type, ..interfacesOfType];
List<Type> compatibleTypes = [type, .. interfacesOfType];

if (baseType is not null)
{
Expand Down
2 changes: 1 addition & 1 deletion tests/NSubstitute.Acceptance.Specs/ArgumentMatching.cs
Original file line number Diff line number Diff line change
Expand Up @@ -755,7 +755,7 @@ public void Supports_matching_covariant_argument()
var argument = new MyStringArgument();

service.MyMethod(argument);

service.Received().MyMethod(Arg.Any<IMyArgument<Arg.AnyType>>());
}

Expand Down

0 comments on commit 2fcec33

Please sign in to comment.