fix: test.each
type always return a callable function
#10488
Merged
test.each
type always return a callable function
#10488