Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

use sigilles parameter with |

  • Loading branch information...
commit e88d246fc25d5499660ca23b541c723c82367423 1 parent 814788c
@moritz moritz authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/Test/Mock.pm
View
4 lib/Test/Mock.pm
@@ -52,8 +52,8 @@ module Test::Mock {
last unless $p.^parents(:local);
for $p.^methods(:local) -> $m {
unless %already-seen{$m.name} {
- $mocker.HOW.add_method($mocker, $m.name, method (|$c) {
- self.'!mock-log'().log-method-call($m.name, $c);
+ $mocker.HOW.add_method($mocker, $m.name, method (|c) {
+ self.'!mock-log'().log-method-call($m.name, c);
%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.