The assertion should ensure that the member doesn't return IEnumerable<object[]>, which it doesn't, but it just seems to be wrong.
I guess an explicit check on whether the enumerated type is object[] would do the trick. I'm not completely sure what the condition exactly tries to evaluate and it's a bit confusing to me.
I was probably the one who implemented support for combinatorial member data, so I can give it a shot on fixing this problem :)
By the way, xUnit throws System.NotSupportedException : Specified method is not supported., which looks to be a bug also reported here.
The following example throws an exception in xUnit:
https://github.com/AArnott/Xunit.Combinatorial/blob/4b8210355b78548a73c191ea9b97fa81dc6c5de0/src/Xunit.Combinatorial/CombinatorialMemberDataAttribute.cs#L221-L225
The assertion should ensure that the member doesn't return
IEnumerable<object[]>
, which it doesn't, but it just seems to be wrong.I guess an explicit check on whether the enumerated type is
object[]
would do the trick. I'm not completely sure what the condition exactly tries to evaluate and it's a bit confusing to me.I was probably the one who implemented support for combinatorial member data, so I can give it a shot on fixing this problem :)
By the way, xUnit throws
System.NotSupportedException : Specified method is not supported.
, which looks to be a bug also reported here.