develooper Front page | perl.perl5.porters | Postings from January 2011

[perl #81866] [PATCH] Fix typos (spelling errors) in cpan/Test-Harness/*.

From:
perlbug-followup
Date:
January 7, 2011 01:57
Subject:
[perl #81866] [PATCH] Fix typos (spelling errors) in cpan/Test-Harness/*.
Message ID:
rt-3.6.HEAD-5425-1294384275-840.81866-75-0@perl.org
# New Ticket Created by  (Peter J. Acklam) 
# Please include the string:  [perl #81866]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=81866 >


---
 cpan/Test-Harness/Changes                          |   18 +++++++++---------
 cpan/Test-Harness/t/compat/inc-propagation.t       |    2 +-
 cpan/Test-Harness/t/compat/test-harness-compat.t   |    2 +-
 cpan/Test-Harness/t/grammar.t                      |    2 +-
 cpan/Test-Harness/t/nofork.t                       |    2 +-
 cpan/Test-Harness/t/parse.t                        |    8 ++++----
 cpan/Test-Harness/t/parser-config.t                |    2 +-
 cpan/Test-Harness/t/parser-subclass.t              |    4 ++--
 cpan/Test-Harness/t/perl5lib.t                     |    2 +-
 cpan/Test-Harness/t/sample-tests/combined_compat   |    2 +-
 .../Test-Harness/t/sample-tests/schwern-todo-quiet |    2 +-
 cpan/Test-Harness/t/taint.t                        |    2 +-
 12 files changed, 24 insertions(+), 24 deletions(-)

diff --git a/cpan/Test-Harness/Changes b/cpan/Test-Harness/Changes
index bb75821..7a29527 100644
--- a/cpan/Test-Harness/Changes
+++ b/cpan/Test-Harness/Changes
@@ -19,7 +19,7 @@ Revision history for Test-Harness
           returns an arrayref of extensions, rather than a single scalar.
           The same change has been made to App::Prove::State::extension().
         - Preserve old semantics for test scripts with a shebang line
-          by favouring Perl as the intepreter for any file with a
+          by favouring Perl as the interpreter for any file with a
           shebang (#59457).
         - Add --trap (summary on Ctrl-C) option to prove (#59427).
         - Removed TAP::Parser::SourceHandler::pgTAP. Find it in its own
@@ -71,7 +71,7 @@ Revision history for Test-Harness
 
           The new TAP::Parser::SourceHandler API makes it much easier to
           write plugins.  This breaks backwards compatibility for plugins &
-          extenstions that rely on the following APIs:
+          extensions that rely on the following APIs:
 
               TAP::Parser::Source
               TAP::Parser::SourceFactory
@@ -93,7 +93,7 @@ Revision history for Test-Harness
         - Added TAP::Parser::SourceHandler::File which lets you to stream TAP
           from a text file (eg: *.tap).
         - Added TAP::Parser::SourceHandler::pgTAP. All the source handlers are
-          new, but this is the only one to add major new functioality: the
+          new, but this is the only one to add major new functionality: the
           ability to run pgTAP tests (http://pgtap.projects.postgresql.org/).
 
 3.17    2009-05-05
@@ -310,7 +310,7 @@ Revision history for Test-Harness
         - Added simple machine readable summary.
         - Performance improvement: The processing pipeline within
           TAP::Parser is now a closure which speeds up access to the
-          various attribtes it needs.
+          various attributes it needs.
         - Performance improvement: Test count spinner now updates
           exponentially less frequently as the count increases which
           saves a lot of I/O on big tests.
@@ -505,7 +505,7 @@ name of this version of Test::Harness during its development.
       after completing all subtests.
     - Added in_todo attribute on TAPx::Parser which is true while the
       most recently seen test was a TODO.
-    - (#24728) TAPx::Harness now supresses diagnostics from failed
+    - (#24728) TAPx::Harness now suppresses diagnostics from failed
       TODOs. Not sure if the semantics of this are correct yet.
       
 0.50_06 18 January 2007
@@ -568,7 +568,7 @@ name of this version of Test::Harness during its development.
     - Made '-h' for runtests now report help.  Using a new harness requires
       the full --harness switch.
     - Added 'problems' method to TAPx::Parser and TAPx::Parser::Aggregator.
-    - Deprecatd 'todo_failed' in favor of 'todo_passed'
+    - Deprecated 'todo_failed' in favor of 'todo_passed'
     - Add -I switch to runtests.
     - Fixed runtests doc nit (smylers)
     - Removed TAPx::Parser::Builder.
@@ -643,7 +643,7 @@ name of this version of Test::Harness during its development.
     - Fixed bug where Carp::croak without parens could cause Perl to fail to
       compile on some platforms. [Andreas J. Koenig]
     - Eliminated the non-portable redirect of STDERR to STDOUT (2>&1) and
-      fixed the synchronization issue.  This involves overridding
+      fixed the synchronization issue.  This involves overriding
       Test::Builder::failure_output() in a very sneaky way.  I may have to
       back this out.
     - Renamed boolean methods to begin with 'is_'.  The methods they replace
@@ -657,7 +657,7 @@ name of this version of Test::Harness during its development.
       instead of one.
     - Fixed bug where a correct plan count in an incorrect place would still
       report as a 'good_plan'.
-    - Fixed bug where comments could accidently be misparsed as directives.
+    - Fixed bug where comments could accidentally be misparsed as directives.
     - Eliminated testing of internal structure of result objects.  The other
       tests cover this.
     - Allow hash marks in descriptions.  This was causing a problem because
@@ -704,7 +704,7 @@ name of this version of Test::Harness during its development.
 
 0.20  2 September 2006
     - Fixed bug reported by GEOFFR.  When no tap output was found, an
-      "Unitialized value" warning occurred.  [rt.cpan.org #21205]
+      "Uninitialized value" warning occurred.  [rt.cpan.org #21205]
     - Updated tprove to now report a test failure when no tap output found.
     - Removed examples/tprove_color2 as tprove_color now works.
     - Vastly improved callback system and updated the docs for how to use
diff --git a/cpan/Test-Harness/t/compat/inc-propagation.t b/cpan/Test-Harness/t/compat/inc-propagation.t
index 8bd0951..6f8a1fc 100644
--- a/cpan/Test-Harness/t/compat/inc-propagation.t
+++ b/cpan/Test-Harness/t/compat/inc-propagation.t
@@ -1,6 +1,6 @@
 #!/usr/bin/perl -w
 
-# Test that @INC is propogated from the harness process to the test
+# Test that @INC is propagated from the harness process to the test
 # process.
 
 use strict;
diff --git a/cpan/Test-Harness/t/compat/test-harness-compat.t b/cpan/Test-Harness/t/compat/test-harness-compat.t
index cae9a54..621135a 100644
--- a/cpan/Test-Harness/t/compat/test-harness-compat.t
+++ b/cpan/Test-Harness/t/compat/test-harness-compat.t
@@ -816,7 +816,7 @@ my $TEST_DIR = 't/sample-tests';
             my @test_files
               = map { File::Spec->catfile( $TEST_DIR, $_ ) } @test_names;
 
-            # For now we supress STDERR because it crufts up /our/ test
+            # For now we suppress STDERR because it crufts up /our/ test
             # results. Should probably capture and analyse it.
             local ( *OLDERR, *OLDOUT );
             open OLDERR, '>&STDERR' or die $!;
diff --git a/cpan/Test-Harness/t/grammar.t b/cpan/Test-Harness/t/grammar.t
index d145c13..80ea50a 100644
--- a/cpan/Test-Harness/t/grammar.t
+++ b/cpan/Test-Harness/t/grammar.t
@@ -405,7 +405,7 @@ is_deeply $token, $expected,
 
     # because it isnt valid yaml, the yaml document is
     # not done, and the _peek in the YAMLish::Reader
-    # code doesnt find the terminating '...' pattern.
+    # code doesn't find the terminating '...' pattern.
     # but we dont care as this is coverage testing, so
     # if thats what we have to do to exercise that code,
     # so be it.
diff --git a/cpan/Test-Harness/t/nofork.t b/cpan/Test-Harness/t/nofork.t
index 88c2e98..257fc65 100644
--- a/cpan/Test-Harness/t/nofork.t
+++ b/cpan/Test-Harness/t/nofork.t
@@ -36,7 +36,7 @@ my $mod = 'TAP::Parser::Iterator::Process';
         is( $ans, 2, 'says not to fork' );
     }
     {
-        local $ENV{PERL5OPT};    # punt: prevent propogating -MNoFork
+        local $ENV{PERL5OPT};    # punt: prevent propagating -MNoFork
         my $ans = backticks( @perl, "-M$mod", '-e', $code );
         is( $ans, 1, 'says to fork' );
     }
diff --git a/cpan/Test-Harness/t/parse.t b/cpan/Test-Harness/t/parse.t
index 9cf5913..dfa1326 100644
--- a/cpan/Test-Harness/t/parse.t
+++ b/cpan/Test-Harness/t/parse.t
@@ -830,7 +830,7 @@ END_TAP
         # build a dying iterator
         my $iterator = TAP::Parser::Iterator::Dies->new;
 
-        # now replace the iterator - we're forced to us an T::P intenal
+        # now replace the iterator - we're forced to us an T::P internal
         # method for this
         $parser->_iterator($iterator);
 
@@ -850,7 +850,7 @@ END_TAP
         is $result, undef, 'iterator dies';
 
         my @errors = $parser->parse_errors;
-        is @errors, 2, '...and caught expected errrors';
+        is @errors, 2, '...and caught expected errors';
 
         like shift @errors, qr/this is the dying iterator/,
           '...and it was what we expected';
@@ -866,7 +866,7 @@ END_TAP
         # build a dying iterator
         my $iterator = TAP::Parser::Iterator::Dies->new;
 
-        # now replace the iterator - we're forced to us an T::P intenal
+        # now replace the iterator - we're forced to us an T::P internal
         # method for this
         $parser->_iterator($iterator);
 
@@ -886,7 +886,7 @@ END_TAP
         is $result, undef, 'iterator dies';
 
         my @errors = $parser->parse_errors;
-        is @errors, 2, '...and caught expected errrors';
+        is @errors, 2, '...and caught expected errors';
 
         like shift @errors, qr/this is the dying iterator/,
           '...and it was what we expected';
diff --git a/cpan/Test-Harness/t/parser-config.t b/cpan/Test-Harness/t/parser-config.t
index 4fdd7cc..90ddebf 100644
--- a/cpan/Test-Harness/t/parser-config.t
+++ b/cpan/Test-Harness/t/parser-config.t
@@ -31,4 +31,4 @@ for my $key ( keys %customize ) {
     is( $p->$key(), $customize{$key}, "customized $key" );
 }
 
-# TODO: make sure these things are propogated down through the parser...
+# TODO: make sure these things are propagated down through the parser...
diff --git a/cpan/Test-Harness/t/parser-subclass.t b/cpan/Test-Harness/t/parser-subclass.t
index 4e8a2a7..3bcc3af 100644
--- a/cpan/Test-Harness/t/parser-subclass.t
+++ b/cpan/Test-Harness/t/parser-subclass.t
@@ -34,7 +34,7 @@ my @t_path = ();
     is( $INIT{MyGrammar},   1, 'initialized MyGrammar' );
     is( $CUSTOM{MyGrammar}, 1, '... and it was customized' );
 
-    # make sure overrided make_* methods work...
+    # make sure overridden make_* methods work...
     %CUSTOM = ();
 
     $p->make_grammar;
@@ -42,7 +42,7 @@ my @t_path = ();
     $p->make_result;
     is( $CUSTOM{MyResult}, 1, 'make custom result' );
 
-    # make sure parser helpers use overrided classes too (the parser should
+    # make sure parser helpers use overridden classes too (the parser should
     # be the central source of configuration/overriding functionality)
     # The source is already tested above (parser doesn't keep a copy of the
     # source currently).  So only one to check is the Grammar:
diff --git a/cpan/Test-Harness/t/perl5lib.t b/cpan/Test-Harness/t/perl5lib.t
index 3947aa6..0e556c9 100644
--- a/cpan/Test-Harness/t/perl5lib.t
+++ b/cpan/Test-Harness/t/perl5lib.t
@@ -1,6 +1,6 @@
 #!/usr/bin/perl -w
 
-# Test that PERL5LIB is propogated from the harness process to the test
+# Test that PERL5LIB is propagated from the harness process to the test
 # process.
 
 use strict;
diff --git a/cpan/Test-Harness/t/sample-tests/combined_compat b/cpan/Test-Harness/t/sample-tests/combined_compat
index 8dfaa28..07d9efd 100644
--- a/cpan/Test-Harness/t/sample-tests/combined_compat
+++ b/cpan/Test-Harness/t/sample-tests/combined_compat
@@ -6,7 +6,7 @@ not ok 3        all hell broke lose
 ok 4
 ok
 ok 6
-ok 7            # Skip contract negociations
+ok 7            # Skip contract negotiations
 ok 8
 not ok 9
 not ok 10
diff --git a/cpan/Test-Harness/t/sample-tests/schwern-todo-quiet b/cpan/Test-Harness/t/sample-tests/schwern-todo-quiet
index 4d482d4..d47a170 100644
--- a/cpan/Test-Harness/t/sample-tests/schwern-todo-quiet
+++ b/cpan/Test-Harness/t/sample-tests/schwern-todo-quiet
@@ -5,7 +5,7 @@ not ok 2
 #   Failed test at ../../andy/schwern.pl line 17.
 #          got: '23'
 #     expected: '42'
-not ok 3 # TODO Roman numerials still not a built in type
+not ok 3 # TODO Roman numerals still not a built in type
 #   Failed (TODO) test at ../../andy/schwern.pl line 20.
 #          got: 'XXIII'
 #     expected: '23'
diff --git a/cpan/Test-Harness/t/taint.t b/cpan/Test-Harness/t/taint.t
index c6f5483..3837c4a 100644
--- a/cpan/Test-Harness/t/taint.t
+++ b/cpan/Test-Harness/t/taint.t
@@ -4,7 +4,7 @@ BEGIN {
     unshift @INC, 't/lib';
 }
 
-# Test that options in PERL5OPT are propogated to tainted tests
+# Test that options in PERL5OPT are propagated to tainted tests
 
 use strict;
 use Test::More ( $^O eq 'VMS' ? ( skip_all => 'VMS' ) : ( tests => 1 ) );
-- 
1.7.3.3




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About