Perl-Critic / PPI

53 stars 44 forks source link

Fix 562 #145

Closed moregan closed 7 years ago

moregan commented 9 years ago

Several changes that make tests pass on my perlbrewed 5.6.2.

jmaslak commented 9 years ago

I made some changes to the code used by the 07-token.t test in #173 which I believe actually fixes the root cause of 1_0E1_0 not being handled right - I don't have a 5.6.2 machine to verify it, but I believe it's a case where a 32 bit Perl with longdouble support is causing problems - see #173 . That would also explain why there is at least one passed test on 5.6.2 (a 64 bit Perl): http://fast-matrix.cpantesters.org/?dist=PPI%201.220;os=linux;perl=5.6.2;reports=1

wchristian commented 7 years ago

Thanks, this has been cherry-picked and released. :)