Hey,
Just started using datasets (great feature 馃挴) and noticed this:
it('test empty user input processing', function ($param){
expect(true)->toBeTrue();
})->with([
null,
[]
]);

Your closure requires an $param. Update the code to:
it('foo', function ($param = null) { ..
@nunomaduro hmmm, it now received null in both cases but in the second one it should've received an empty array:
it('test empty user input processing', function ($param = null){
dump($param);
expect(true)->toBeTrue();
})->with([
null,
[]
]);

I'd assume that's because the array is interpreted as a subset of parameters.
it('test empty user input processing', function ($param = null) {
expect(true)->toBeTrue();
})->with([
[null],
[[]]
]);
Have a look at the second example in the documentation. 馃憤馃徎
@owenvoke oh, nice, thanks! I saw it but it didn't seem applicable because it was indended for multiple arguments. :D
Perhaps we could update the docs to clarify that a bit more in the case of an empty array. 馃憤馃徎 Cheers.
Most helpful comment
I'd assume that's because the array is interpreted as a subset of parameters.
Have a look at the second example in the documentation. 馃憤馃徎