Rather than using the genSmallNonEmptyList that storableGetSet does, storableSetGetgenerates the length of the list independently, and then uses that number to generate its array of test objects. However, it does so in a way that allows empty lists, which then throw everything off culminating in malloc errors crashing the test suite. The solution seems to be simply changing the 0 on that line to 1; I didn't want to go through an entire branch+PR cycle for a single-byte change.
Rather than using the
genSmallNonEmptyList
thatstorableGetSet
does,storableSetGet
generates the length of the list independently, and then uses that number to generate its array of test objects. However, it does so in a way that allows empty lists, which then throw everything off culminating inmalloc
errors crashing the test suite. The solution seems to be simply changing the0
on that line to1
; I didn't want to go through an entire branch+PR cycle for a single-byte change.