The Road to Hell is Paved With Good Intentions
Ok you might remember this post a week or so ago. Our might even remember the last line
one more quick fix and then they all pass, package and stick on CPAN.
Famous last words of the dammed as I took a look today and
Orignal-0.03
CPAN Testers PASS (25) FAIL (263)
and with 0.02
CPAN Testers PASS (225) FAIL (53)
and good old 0.01
CPAN Testers PASS (314) FAIL (2)
Ok so some how I made things worse?? lets have a look
# Loading Orignal and version
= is not a valid comparison operator in cmp_ok() at /home/c/perl5/perlbrew/perls/18.1i/lib/5.18.1/Test/More.pm line 481.
# Looks like you planned 18 tests but ran 2.
# Loading Orignal and version
= is not a valid comparison operator in cmp_ok() at /usr/home/cpan/pit/thr-clang/perl-5.10.0/lib/5.10.0/Test/More.pm line 481.
# Looks like you planned 18 tests but ran 2.
# Loading Orignal and version
= is not a valid comparison operator in cmp_ok() at /usr/home/cpan/pit/bare-clang/perl-5.18.2/lib/5.18.2/Test/More.pm line 481.
# Looks like you planned 18 tests but ran 2.
Ok I think I see the pattern a quick look into some of the tests, by the way the new 'Report Analysis' beta is worth the visit.
pass
Module Need Have
------------------- -------- --------
perl 5.006001 5.018002
Test::More 0 0.98
fail
Module Need Have
------------------- -------- --------
perl 5.006001 5.018002
Test::More 0 1.001002
going way back I see
Module Need Have
------------------- ---- ------------
Test::More 0 1.005000_002
So Test::More has changed, most likely gotten a little more strict. Well I have two (well three if I want to get laughed at I could post a but report on Test::More). So I can
- Change my test so it has 'eq' rather than '=' or
- I could set the requirement of Test::More to be 0.98.
I think option 2 is about the same as putting on 'Peril Sensitive Sunglasses'
So I think I will fix it with #1 and the other bug that was mentioned and lets see what happens this time??
Well
=
isn't a valid comparison operator, perhaps you meant==
.yes '=' is not valid but it worked oddly enough with some versions of 'Test::More'