Subject: | Tests fail with recent Math::BigRat |
My smoker systems report the following failure --- probably only if the most recent Math::BigRat is installed:
t/basic.t ... ok
# Failed test 'Inexact power of 2 output units 1: pc 1m+1'
# at t/output.t line 33.
# got: '2'
# expected: '0'
# Different in line: 1: got (1,048,577 1048577 0x10,0001 0x100001 04000001 1048577.00MB), expect ((?^:\b1.00MB\b))
#
# 1: got (Argument "1048577/1048576" isn't numeric in addition (+) at /home/cpansand/.cpan/build/2016082818/Math-BigRat-0.260804-vt14t0/blib/lib/Math/BigRat.pm line 1926.), expect ()
# Failed test 'Inexact power of 2 output units 2: pc 1m+512k'
# at t/output.t line 33.
# got: '2'
# expected: '0'
# Different in line: 1: got (1,572,864 1572864 0x18,0000 0x180000 06000000 3.00MB), expect ((?^:\b1.50MB\b))
#
# 1: got (Argument "3/2" isn't numeric in addition (+) at /home/cpansand/.cpan/build/2016082818/Math-BigRat-0.260804-vt14t0/blib/lib/Math/BigRat.pm line 1926.), expect ()
# Failed test 'Inexact power of 2 output units 3: pc 1.5m'
# at t/output.t line 33.
# got: '2'
# expected: '0'
# Different in line: 1: got (1,048,576 1048576 0x10,0000 0x100000 06000000 3.00MB 1572864), expect ((?^:\b1.50MB\b))
#
# 1: got (Argument "3/2" isn't numeric in addition (+) at /home/cpansand/.cpan/build/2016082818/Math-BigRat-0.260804-vt14t0/blib/lib/Math/BigRat.pm line 1926.), expect ()
# Failed test 'hex output: pc 10000'
# at t/output.t line 33.
# got: '1'
# expected: '0'
# Different in line: 1: got (Argument "625/64" isn't numeric in addition (+) at /home/cpansand/.cpan/build/2016082818/Math-BigRat-0.260804-vt14t0/blib/lib/Math/BigRat.pm line 1926.), expect ()
# Failed test 'octal output: pc 10000'
# at t/output.t line 33.
# got: '1'
# expected: '0'
# Different in line: 1: got (Argument "625/64" isn't numeric in addition (+) at /home/cpansand/.cpan/build/2016082818/Math-BigRat-0.260804-vt14t0/blib/lib/Math/BigRat.pm line 1926.), expect ()
# Looks like you failed 5 tests of 18.
t/output.t ..
Dubious, test returned 5 (wstat 1280, 0x500)
Failed 5/18 subtests