Skip to content

Commit b3b2036

Browse files
authored
Fix ConstructorWithAttributesOnParametersTestCase
1 parent b32cbc5 commit b3b2036

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Castle.Core.Tests/DynamicProxy.Tests/ConstructorWithAttributesOnParametersTestCase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public void CustomAttributesOnParametersAreCopiedToProxiedObjectConstructor()
4646

4747
// There should be exactly one parameter named `stringParam`:
4848
var stringParam = constructor.GetParameters().SingleOrDefault(p => p.Name == "stringParam");
49-
Assert.NotNull(intParam);
49+
Assert.NotNull(stringParam);
5050

5151
// That parameter should have exactly one `RequiredAttribute` carrying the value "test".
5252
var stringParamRequiredAttrs = stringParam.GetCustomAttributes<RequiredAttribute>(inherit: true);

0 commit comments

Comments
 (0)