We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
action:
handler:
1 parent 72c939e commit 3b2ae74Copy full SHA for 3b2ae74
src/Http/Http.Extensions/test/RequestDelegateFactoryTests.cs
@@ -185,10 +185,10 @@ public void BuildRequestDelegateThrowsArgumentNullExceptions()
185
186
var serviceProvider = new EmptyServiceProvider();
187
188
- var exNullAction = Assert.Throws<ArgumentNullException>(() => RequestDelegateFactory.Create(action: null!));
+ var exNullAction = Assert.Throws<ArgumentNullException>(() => RequestDelegateFactory.Create(handler: null!));
189
var exNullMethodInfo1 = Assert.Throws<ArgumentNullException>(() => RequestDelegateFactory.Create(methodInfo: null!));
190
191
- Assert.Equal("action", exNullAction.ParamName);
+ Assert.Equal("handler", exNullAction.ParamName);
192
Assert.Equal("methodInfo", exNullMethodInfo1.ParamName);
193
}
194
0 commit comments