Skip Menu |

This queue is for tickets about the DBD-Pg CPAN distribution.

Report information
The Basics
Id: 59449
Status: resolved
Priority: 0/
Queue: DBD-Pg

People
Owner: greg [...] turnstep.com
Requestors: adamk [...] cpan.org
Cc:
AdminCc:

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



Subject: Failed test 'Geometric type test: point datatype exponential numbers'
Strawberry Perl 5.10.1 on Vista Ultimate 32 bit Postgres 8.4 with PostGIS 1.4 installed. 2 test fail in t\12placeholders.t not ok 22 - Geometric type test: point datatype exponential numbers # Failed test 'Geometric type test: point datatype exponential numbers' # at t\12placeholders.t line 410. # Structures begin differing at: # $got->[0][0] = '(1e+034,90000)' # $expected->[0][0] = '(1e+34,90000)' ok 23 - Geometric type test: point datatype plus and minus signs not ok 24 - Geometric type test: point datatype plus and minus signs # Failed test 'Geometric type test: point datatype plus and minus signs' # at t\12placeholders.t line 410. # Structures begin differing at: # $got->[0][0] = '(1e+034,-0.45)' # $expected->[0][0] = '(1e+34,-0.45)'
Thanks for the report. Since the printing of leading zeroes is system-dependent for values < 100, the test has been changed to use three digits instead of two (1e+34 becomes 1e+134). Pretty sure this will let the test work on your system. Git commit is a44829e1ad04bc32165080741f4c1aeebf6bd0ef