InstanceOfAssertFactories.array
and InstanceOfAssertFactories.array2D
expect array type parameter instead of the one for their elements
#3386
Labels
type: improvement
A general improvement
Milestone
Currently,
InstanceOfAssertFactories.array
andInstanceOfAssertFactories.array2D
must be used in the following way:where the array type is provided as a parameter.
However, factories like
collection
orlist
expect the element type instead:We should change the type parameter for
array
andarray2d
to be the element type.The text was updated successfully, but these errors were encountered: