Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix to make sure we hand back parcels appropriately.

  • Loading branch information...
commit c636782343ae85a14f886cdb646f466746317cd1 1 parent 56318f8
@jnthn authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/Test/Mock.pm
View
2  lib/Test/Mock.pm
@@ -54,7 +54,7 @@ module Test::Mock {
unless %already-seen{$m.name} {
$mocker.HOW.add_method($mocker, $m.name, method (|$c) {
self.'!mock-log'().log-method-call($m.name, $c);
- %returning{$m.name} ~~ List ??
+ %returning{$m.name} ~~ Iterable || %returning{$m.name} ~~ Parcel ??
@(%returning{$m.name}) !!
%returning{$m.name}
});
Please sign in to comment.
Something went wrong with that request. Please try again.