- changed milestone to 2.0
-
assigned issue to
Mocking Arg.IsAny fails when set contains over 64 entries
Issue #393
duplicate
Hello,
we have encountered a problem in mocking by calling the function Arg.IsAny with a set. The enumeration as the basis of the set contains more than 64 entries.
Further investigation revealed that the function TMatcherFactory.CreateMatchers fails internally in conditionStack[GetIndex(indizes[i])] when trying to convert the set via AsOrdinal.
The raised exception is class EInvalidCast with message ‘Invalid class typecast’.
We have found a temporary workaround, but we wanted to report this bug.
Comments (2)
-
repo owner -
repo owner - changed status to duplicate
Duplicate of
#324. - Log in to comment