Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[Test::Mock] update to new version that does not warn

  • Loading branch information...
commit 97572e5a52f2a6d57682866a51f71ab6ca68e4f1 1 parent 2ef186a
@moritz moritz authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 ext/Test__Mock/lib/Test/Mock.pm
View
4 ext/Test__Mock/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}

0 comments on commit 97572e5

Please sign in to comment.
Something went wrong with that request. Please try again.