Skip to content

Commit

Permalink
Fix typo in pod
Browse files Browse the repository at this point in the history
  • Loading branch information
nima-fs authored and geofffranks committed Sep 15, 2020
1 parent 45928f0 commit cf65e7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Test/MockModule.pm
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ one hardcoded argument pass to a function.
# only alter calls with path set to "/a/b/c/d"
return $mock->original("get_path_for")->("/my/custom/path");
} else { # preserve the original arguments
return $mock->original("get_path_for")->(@_);
return $mock->original("get_path_for")->($path, @_);
}
});
Expand Down

0 comments on commit cf65e7c

Please sign in to comment.