File: pod-fixes-MockObject.pm.diff

package info (click to toggle)
libtest-mockobject-perl 1.20120301-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 228 kB
  • sloc: perl: 1,192; makefile: 2
file content (18 lines) | stat: -rw-r--r-- 674 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Wrap line in POD, so that the C<> is not prematurely closed by
 the "=>". See #466450
Origin: vendor
Forwarded: no
Author: Krzysztof Krzyżaniak (eloy)
--- a/lib/Test/MockObject.pm
+++ b/lib/Test/MockObject.pm
@@ -579,8 +579,8 @@
 before a use or require or place it before a C<use_ok()> or C<require_ok()>
 call.
 
-You can optionally add functions to the mocked module by passing them as name
-=> coderef pairs to C<fake_module()>.  This is handy if you want to test an
+You can optionally add functions to the mocked module by passing them as
+name => coderef pairs to C<fake_module()>.  This is handy if you want to test an
 C<import()>:
 
     my $import;