Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Test-Data CPAN distribution.

Report information
The Basics
Id: 4573
Status: resolved
Worked: 5 min
Priority: 0/
Queue: Test-Data

People
Owner: bdfoy [...] cpan.org
Requestors: MARKSTOS [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.93
Fixed in: (no value)



Subject: doc fix: s/OK is/Ok if/
There seemed to be a persistent grammar issue in the docs here. Instead of describing a test as "OK if something happens", they say "Ok /is/ something happens". Attach patch fixes that for ::Array. I didn't check the other modules. Mark
--- /usr/local/lib/perl5/site_perl/5.8.0/Test/Data/Array.pm Sun May 11 21:12:14 2003 +++ /home/mark/tmp/data_array.patch Thu Dec 4 12:04:29 2003 @@ -31,7 +31,7 @@ =item array_any_ok( ITEM, ARRAY [, NAME] ) -Ok is any element of ARRAY is ITEM. +OK if any element of ARRAY is ITEM. =cut @@ -53,7 +53,7 @@ =item array_none_ok( ITEM, ARRAY [, NAME] ) -Ok is no element of ARRAY is ITEM. +OK if no element of ARRAY is ITEM. =cut @@ -75,7 +75,7 @@ =item array_once_ok( ITEM, ARRAY [, NAME] ) -Ok is only one element of ARRAY is ITEM. +OK if only one element of ARRAY is ITEM. =cut @@ -121,7 +121,7 @@ =item array_max_ok( NUMBER, ARRAY [, NAME] ) -Ok is all elements of ARRAY are numerically less than +OK if all elements of ARRAY are numerically less than or equal to NUMBER. =cut @@ -139,7 +139,7 @@ =item array_min_ok( NUMBER, ARRAY [, NAME] ) -Ok is all elements of ARRAY are numerically greater than +OK if all elements of ARRAY are numerically greater than or equal to NUMBER. =cut @@ -157,7 +157,7 @@ =item array_maxstr_ok( ITEM, ARRAY [, NAME] ) -Ok is all elements of ARRAY are asciibetically less than +OK if all elements of ARRAY are asciibetically less than or equal to MAX. =cut @@ -175,7 +175,7 @@ =item array_minstr_ok( ITEM, ARRAY [, NAME] ) -Ok is all elements of ARRAY are asciibetically greater than +OK if all elements of ARRAY are asciibetically greater than or equal to MAX. =cut @@ -193,7 +193,7 @@ =item array_sum_ok( SUM, ARRAY [, NAME] ) -Ok is the numerical sum of ARRAY is SUM. +OK if the numerical sum of ARRAY is SUM. =cut
I will fix this in the next update. Thanks.