Test::Proto::Object should define and implement a syntax for the user to specify, list/scalar/void context, so that prototypes which behave differently depending on the value of wantarray can be tested. Also specify a sane default (probably list).
Consider whether the context can be determined from the prototype.
Test::Proto::Object
should define and implement a syntax for the user to specify, list/scalar/void context, so that prototypes which behave differently depending on the value ofwantarray
can be tested. Also specify a sane default (probably list).Consider whether the context can be determined from the prototype.