Skip to content

Conversation

@RenderMichael
Copy link
Contributor

Fixes #4726

Following the advice of @manfred-brands:

I think that renaming the type parameters to TCollectionElementType and TExpectedType would clear things up.

I took the opportunity to find every instance of the in-line comparers to clear things up.

I dropped the Type at the end of the the generic parameter names because it began to feel too verbose, I'll add it back in if that's the preferred convention.

Some of the more pathological cases had testing holes so I filled those in as well.

Copy link
Member

@manfred-brands manfred-brands left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only some small issues.

@RenderMichael
Copy link
Contributor Author

PR feedback addressed, the only remaining thing is nunit/docs#937 (comment), since its resolution affects this PR.

Copy link
Member

@manfred-brands manfred-brands left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One rename of Type parameter and one rename of method parameters.

Copy link
Member

@manfred-brands manfred-brands left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @RenderMichael. Nothing further.

@manfred-brands manfred-brands merged commit 6270e3c into nunit:master Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Using<TCollectionType, TMemberType> is unclear

2 participants