-
-
Notifications
You must be signed in to change notification settings - Fork 85
Closed
Description
I have a test method with the following signature:
[Test]
[MethodDataSource(nameof(IncreasingLoad))]
public void CanHandleManyRequests_With_Changing_Subscribers((int consumers, int requests) state){...}
with the following data generator method:
public static IEnumerable<Func<(int consumers, int messages)>> IncreasingLoad(){....}
After updating to version 0.53.0 I get the following runtime error:
Expected exactly 1 argument, but got 2.
Changing the test method to public void CanHandleManyRequests_With_Changing_Subscribers(int consumers, int requests){...}
fixes the issue.
I love the API change, where I now inject the two arguments instead of the tuple. I would like a compiletime error instead of a runtime error.
Copilot
Metadata
Metadata
Assignees
Labels
No labels