1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73
|
Description: fix spelling typo
Origin: vendor
Author: mason james <mtj@kohaaloha.com>
Forwarded: https://github.com/cpanel/Overload-FileCheck/pull/23
Last-Update: 2023-02-02
commit a148f1e9a6f6c960145a32e2e0bd08fa3fe17dc7
Author: Mason James <mtj@kohaaloha.com>
Date: Thu Jan 26 07:27:28 2023 +1300
a patch to fix typos
diff --git a/examples/mock-stat.pl b/examples/mock-stat.pl
index e3223d8..1ecf4fa 100644
--- a/examples/mock-stat.pl
+++ b/examples/mock-stat.pl
@@ -45,7 +45,7 @@ sub my_stat {
return $fake_stat if $f eq 'fake.stat';
- # can also retun stats as a hash ref
+ # can also return stats as a hash ref
return { st_dev => 1, st_atime => 987654321 } if $f eq 'hash.stat';
return {
diff --git a/examples/perldoc_mock-stat.t b/examples/perldoc_mock-stat.t
index d87497c..47ce68e 100644
--- a/examples/perldoc_mock-stat.t
+++ b/examples/perldoc_mock-stat.t
@@ -52,7 +52,7 @@ sub my_stat {
return $fake_stat if $f eq 'fake.stat';
- # can also retun stats as a hash ref
+ # can also return stats as a hash ref
return { st_dev => 1, st_atime => 987654321 } if $f eq 'hash.stat';
return {
diff --git a/examples/trace-code.pl b/examples/trace-code.pl
index 5382d6a..1b06f17 100644
--- a/examples/trace-code.pl
+++ b/examples/trace-code.pl
@@ -27,7 +27,7 @@ unmock_all_file_checks();
__END__
-# The ouput looks similar to
+# The output looks similar to
-d '/root' called from at t/perldoc_mock-all-file-check-trace.t line 26.
-l '/root' called from at t/perldoc_mock-all-file-check-trace.t line 27.
diff --git a/lib/Overload/FileCheck.pm b/lib/Overload/FileCheck.pm
index 477617c..2c11598 100644
--- a/lib/Overload/FileCheck.pm
+++ b/lib/Overload/FileCheck.pm
@@ -1016,7 +1016,7 @@ You can trace all file checks in your codebase without altering it.
__END__
- # The ouput looks similar to
+ # The output looks similar to
-d '/root' called from at t/perldoc_mock-all-file-check-trace.t line 26.
-l '/root' called from at t/perldoc_mock-all-file-check-trace.t line 27.
@@ -1180,7 +1180,7 @@ in t or examples directories.
return $fake_stat if $f eq 'fake.stat';
- # can also retun stats as a hash ref
+ # can also return stats as a hash ref
return { st_dev => 1, st_atime => 987654321 } if $f eq 'hash.stat';
return {
|