@@ -1,5 +1,10 @@
Revision history for Test-Deep
+0.113 2004-08-22
+ - fix a compile error (!!) in RegexpOnly
+ - fix some documentation typos (thanks, ZOFFIX)
+ - add license to META file
+
0.112 2013-11-30
- rebuild MANIFEST, adding two forgotten files
@@ -4,9 +4,9 @@
"Fergal Daly <fergal@esatclear.ie>"
],
"dynamic_config" : 1,
- "generated_by" : "ExtUtils::MakeMaker version 6.82, CPAN::Meta::Converter version 2.132830",
+ "generated_by" : "ExtUtils::MakeMaker version 6.98, CPAN::Meta::Converter version 2.142060",
"license" : [
- "unknown"
+ "perl_5"
],
"meta-spec" : {
"url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
@@ -54,5 +54,5 @@
},
"x_MailingList" : "http://lists.perl.org/list/perl-qa.html"
},
- "version" : "0.112"
+ "version" : "0.113"
}
@@ -3,30 +3,30 @@ abstract: unknown
author:
- 'Fergal Daly <fergal@esatclear.ie>'
build_requires:
- ExtUtils::MakeMaker: 0
+ ExtUtils::MakeMaker: '0'
configure_requires:
- ExtUtils::MakeMaker: 0
+ ExtUtils::MakeMaker: '0'
dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 6.82, CPAN::Meta::Converter version 2.132830'
-license: unknown
+generated_by: 'ExtUtils::MakeMaker version 6.98, CPAN::Meta::Converter version 2.142060'
+license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
- version: 1.4
+ version: '1.4'
name: Test-Deep
no_index:
directory:
- t
- inc
requires:
- List::Util: 1.09
- Scalar::Util: 1.09
- Test::More: 0
- Test::NoWarnings: 0.02
- Test::Tester: 0.04
+ List::Util: '1.09'
+ Scalar::Util: '1.09'
+ Test::More: '0'
+ Test::NoWarnings: '0.02'
+ Test::Tester: '0.04'
resources:
MailingList: http://lists.perl.org/list/perl-qa.html
bugtracker: http://github.com/rjbs/Test-Deep/issues/
homepage: http://github.com/rjbs/Test-Deep/
license: http://dev.perl.org/licenses/
repository: http://github.com/rjbs/Test-Deep/
-version: 0.112
+version: '0.113'
@@ -33,6 +33,8 @@ WriteMakefile(
'List::Util' => '1.09',
},
+ LICENSE => "perl",
+
# This is a dumb mistake. Why did it get done? I'm the one who did it and I
# don't know. It only affects perl 5.8, and stopping doing it now would be a
# problem, because upgrades wouldn't actually upgrade. I'll just leave it
@@ -25,7 +25,7 @@ sub descend
my $re = $self->{val};
- return ($got =~ $self->{val} ? 1 : 0;
+ return $got =~ $self->{val} ? 1 : 0;
}
sub diag_message
@@ -21,7 +21,7 @@ unless (defined $Test::Deep::NoTest::NoTest)
our ($Stack, %Compared, $CompareCache, %WrapCache, $Shallow);
-our $VERSION = '0.112';
+our $VERSION = '0.113';
$VERSION = eval $VERSION;
require Exporter;
@@ -1037,7 +1037,7 @@ is the equivalent of
With $capture_data
- cmp_deeply($got, [re($regex, $capture_data])
+ cmp_deeply($got, [re($regex, $capture_data)])
is the equivalent of
@@ -1046,7 +1046,7 @@ is the equivalent of
So you can do something simple like
- cmp_deeply($got, re(qr/(\d\d)(\w\w)/, [25, "ab" ])
+ cmp_deeply($got, re(qr/(\d\d)(\w\w)/, [25, "ab" ]))
to check that (\d\d) was 25 and (\w\w) was "ab" but you can also use
Test::Deep objects to do more complex testing of the captured values
@@ -1253,7 +1253,7 @@ is similar to
cmp_deeply($got_v, $common_tests)
}
-Except it will not explode is $got is not an array reference. It will check
+Except it will not explode if $got is not an array reference. It will check
that each of the objects in @$got is a MyFile and that each one gives the
correct results for it's methods.