Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PATCH] Fix typos (spelling errors) in cpan/Params-Check/*. #10984

Closed
p5pRT opened this issue Jan 7, 2011 · 4 comments
Closed

[PATCH] Fix typos (spelling errors) in cpan/Params-Check/*. #10984

p5pRT opened this issue Jan 7, 2011 · 4 comments

Comments

@p5pRT
Copy link

p5pRT commented Jan 7, 2011

Migrated from rt.perl.org#81844 (status was 'resolved')

Searchable as RT81844$

@p5pRT
Copy link
Author

p5pRT commented Jan 7, 2011

From @pjacklam


cpan/Params-Check/lib/Params/Check.pm | 6 +++---
cpan/Params-Check/t/01_Params-Check.t | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)

Inline Patch
diff --git a/cpan/Params-Check/lib/Params/Check.pm b/cpan/Params-Check/lib/Params/Check.pm
index 7348cbc..7ffe23c 100644
--- a/cpan/Params-Check/lib/Params/Check.pm
+++ b/cpan/Params-Check/lib/Params/Check.pm
@@ -359,7 +359,7 @@ sub check {
     ### we have the fatal flag toggled.
     croak(__PACKAGE__->last_error) if ($wrong || $warned) && $WARNINGS_FATAL;
 
-    ### done with our loop... if $wrong is set, somethign went wrong
+    ### done with our loop... if $wrong is set, something went wrong
     ### and the user is already informed, just return...
     return if $wrong;
 
@@ -435,7 +435,7 @@ sub allow {
 
         ### loop over the elements, see if one of them says the
         ### value is OK
-        ### also, short-cicruit when possible
+        ### also, short-circuit when possible
         for ( @{$_[1]} ) {
             return 1 if allow( $_[0], $_ );
         }
@@ -629,7 +629,7 @@ the user input to lowercase, but instead expect them to be in the
 case the template provided. This is useful when you want to use
 similar keys with different casing in your templates.
 
-Understand that this removes the case-insensitivy feature of this
+Understand that this removes the case-insensitivity feature of this
 module.
 
 Default is 0;
diff --git a/cpan/Params-Check/t/01_Params-Check.t b/cpan/Params-Check/t/01_Params-Check.t
index 06f3048..c0ff79c 100644
--- a/cpan/Params-Check/t/01_Params-Check.t
+++ b/cpan/Params-Check/t/01_Params-Check.t
@@ -244,7 +244,7 @@ use constant TRUE   => sub { 1 };
         my $text    = "Key 'foo' ($val) is of invalid type";
         my $re      = quotemeta $text;
         
-        ok(!$rv,                    "check() fails with unalllowed value" );
+        ok(!$rv,                    "check() fails with unallowed value" );
         like(last_error(), qr/$re/, "   $text" );
     }
 }
@@ -348,7 +348,7 @@ use constant TRUE   => sub { 1 };
                             "right caller with CALLER_DEPTH" );
 }
 
-### test: #23824: Bug concering the loss of the last_error 
+### test: #23824: Bug concerning the loss of the last_error 
 ### message when checking recursively.
 {   ok( 1,                      "Test last_error() on recursive check() call" ); 
     
-- 
1.7.3.3

@p5pRT
Copy link
Author

p5pRT commented Jan 7, 2011

From @bingos

Thanks applied as da827d7

--
Chris Williams
aka BinGOs
PGP ID 0x4658671F
http​://www.gumbynet.org.uk

@p5pRT
Copy link
Author

p5pRT commented Jan 7, 2011

The RT System itself - Status changed from 'new' to 'open'

@p5pRT
Copy link
Author

p5pRT commented Jan 9, 2011

@iabyn - Status changed from 'open' to 'resolved'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant