Subject: | Bad test fails under longdouble |
prove -vwb t/getattribute.t
t/getattribute.t ..
1..25
:
ok 7
Expected (0.454545), Got (0.454544999999999977)
not ok 8
:
Failed 1/25 subtests
Test Summary Report
-------------------
t/getattribute.t (Wstat: 0 Tests: 25 Failed: 1)
Failed test: 8
Files=1, Tests=25, 0 wallclock secs ( 0.02 usr 0.00 sys + 0.02 cusr 0.00 csys = 0.04 CPU)
Result: FAIL
Under -Duselongdouble, 0.454545 doesn't seem to be a good value to test with (or you should modify the fetch function to return less digits)