Skip to content

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
perl-dbd-firebird$ make test
t/41numeric.t ............. 6/29 Argument "80. 80" isn't numeric in sprintf at t/41numeric.t line 168.
# Failed test 'Field: NUMERIC_3_DIGITS'
# at t/41numeric.t line 170.
# got: '80.000'
# expected: '80.080'
Argument "-80. 80" isn't numeric in sprintf at t/41numeric.t line 168.
# Failed test 'Field: NUMERIC_3_DIGITS'
# at t/41numeric.t line 170.
# got: '-80.000'
# expected: '-80.080'
# Looks like you failed 2 tests of 29.
t/41numeric.t ............. Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/29 subtests
t/42scale.t ............... 1/51 Argument "-19. 6" isn't numeric in addition (+) at t/42scale.t line 61.
# Failed test 'CAST(-19.061 AS NUMERIC(18, 2))'
# at t/42scale.t line 61.
# got: '-19'
# expected: '-19.06'
Argument "-19. 61" isn't numeric in addition (+) at t/42scale.t line 61.
# Failed test 'CAST(-19.061 AS NUMERIC(18, 3))'
# at t/42scale.t line 61.
# got: '-19'
# expected: '-19.061'
Argument "-19. 610" isn't numeric in addition (+) at t/42scale.t line 61.
t/42scale.t ............... 5/51
# Failed test 'CAST(-19.061 AS NUMERIC(18, 4))'
# at t/42scale.t line 61.
# got: '-19'
# expected: '-19.061'
Argument "-19. 6100" isn't numeric in addition (+) at t/42scale.t line 61.
# Failed test 'CAST(-19.061 AS NUMERIC(18, 5))'
# at t/42scale.t line 61.
# got: '-19'
# expected: '-19.061'
Argument "-19. 61000" isn't numeric in addition (+) at t/42scale.t line 61.
# Failed test 'CAST(-19.061 AS NUMERIC(18, 6))'
# at t/42scale.t line 61.
# got: '-19'
# expected: '-19.061'
Argument "-19. 610000" isn't numeric in addition (+) at t/42scale.t line 61.
# Failed test 'CAST(-19.061 AS NUMERIC(18, 7))'
# at t/42scale.t line 61.
# got: '-19'
# expected: '-19.061'
Argument "-19. 6100000" isn't numeric in addition (+) at t/42scale.t line 61.
# Failed test 'CAST(-19.061 AS NUMERIC(18, 8))'
# at t/42scale.t line 61.
# got: '-19'
# expected: '-19.061'
Argument "-19. 61000000" isn't numeric in addition (+) at t/42scale.t line 61.
# Failed test 'CAST(-19.061 AS NUMERIC(18, 9))'
# at t/42scale.t line 61.
# got: '-19'
# expected: '-19.061'
Argument "-19. 610000000" isn't numeric in addition (+) at t/42scale.t line 61.
# Failed test 'CAST(-19.061 AS NUMERIC(18, 10))'
# at t/42scale.t line 61.
# got: '-19'
# expected: '-19.061'
Argument "-19. 6100000000" isn't numeric in addition (+) at t/42scale.t line 61.
# Failed test 'CAST(-19.061 AS NUMERIC(18, 11))'
# at t/42scale.t line 61.
# got: '-19'
# expected: '-19.061'
Argument "-19. 61000000000" isn't numeric in addition (+) at t/42scale.t line 61.
# Failed test 'CAST(-19.061 AS NUMERIC(18, 12))'
# at t/42scale.t line 61.
# got: '-19'
# expected: '-19.061'
Argument "-19. 610000000000" isn't numeric in addition (+) at t/42scale.t line 61.
# Failed test 'CAST(-19.061 AS NUMERIC(18, 13))'
# at t/42scale.t line 61.
# got: '-19'
# expected: '-19.061'
Argument "-19. 6100000000000" isn't numeric in addition (+) at t/42scale.t line 61.
# Failed test 'CAST(-19.061 AS NUMERIC(18, 14))'
# at t/42scale.t line 61.
# got: '-19'
# expected: '-19.061'
Argument "-19. 61000000000000" isn't numeric in addition (+) at t/42scale.t line 61.
# Failed test 'CAST(-19.061 AS NUMERIC(18, 15))'
# at t/42scale.t line 61.
# got: '-19'
# expected: '-19.061'
Argument "-19. 610000000000000" isn't numeric in addition (+) at t/42scale.t line 61.
# Failed test 'CAST(-19.061 AS NUMERIC(18, 16))'
# at t/42scale.t line 61.
# got: '-19'
# expected: '-19.061'
Argument "0. 1000000" isn't numeric in addition (+) at t/42scale.t line 61.
# Failed test 'CAST(0.00001 AS NUMERIC(12, 11))'
# at t/42scale.t line 61.
# got: '0'
# expected: '1e-05'
Argument "0. 100000" isn't numeric in addition (+) at t/42scale.t line 61.
# Failed test 'CAST(0.00001 AS NUMERIC(12, 10))'
# at t/42scale.t line 61.
# got: '0'
# expected: '1e-05'
Argument "0. 10000" isn't numeric in addition (+) at t/42scale.t line 61.
# Failed test 'CAST(0.00001 AS NUMERIC(12, 9))'
# at t/42scale.t line 61.
# got: '0'
# expected: '1e-05'
Argument "0. 1000" isn't numeric in addition (+) at t/42scale.t line 61.
# Failed test 'CAST(0.00001 AS NUMERIC(12, 8))'
# at t/42scale.t line 61.
# got: '0'
# expected: '1e-05'
Argument "0. 100" isn't numeric in addition (+) at t/42scale.t line 61.
# Failed test 'CAST(0.00001 AS NUMERIC(12, 7))'
# at t/42scale.t line 61.
# got: '0'
# expected: '1e-05'
Argument "0. 10" isn't numeric in addition (+) at t/42scale.t line 61.
# Failed test 'CAST(0.00001 AS NUMERIC(12, 6))'
# at t/42scale.t line 61.
# got: '0'
# expected: '1e-05'
Argument "0. 1" isn't numeric in addition (+) at t/42scale.t line 61.
# Failed test 'CAST(0.00001 AS NUMERIC(12, 5))'
# at t/42scale.t line 61.
# got: '0'
# expected: '1e-05'
Argument "0. 0" isn't numeric in addition (+) at t/42scale.t line 61.
Argument "-19. 6" isn't numeric in addition (+) at t/42scale.t line 61.
# Failed test 'CAST(-19.061 AS DECIMAL(18, 2))'
# at t/42scale.t line 61.
# got: '-19'
# expected: '-19.06'
Argument "-19. 61" isn't numeric in addition (+) at t/42scale.t line 61.
# Failed test 'CAST(-19.061 AS DECIMAL(18, 3))'
# at t/42scale.t line 61.
# got: '-19'
# expected: '-19.061'
Argument "-19. 610" isn't numeric in addition (+) at t/42scale.t line 61.
# Failed test 'CAST(-19.061 AS DECIMAL(18, 4))'
# at t/42scale.t line 61.
# got: '-19'
# expected: '-19.061'
Argument "-19. 6100" isn't numeric in addition (+) at t/42scale.t line 61.
# Failed test 'CAST(-19.061 AS DECIMAL(18, 5))'
# at t/42scale.t line 61.
# got: '-19'
# expected: '-19.061'
Argument "-19. 61000" isn't numeric in addition (+) at t/42scale.t line 61.
# Failed test 'CAST(-19.061 AS DECIMAL(18, 6))'
# at t/42scale.t line 61.
# got: '-19'
# expected: '-19.061'
Argument "-19. 610000" isn't numeric in addition (+) at t/42scale.t line 61.
# Failed test 'CAST(-19.061 AS DECIMAL(18, 7))'
# at t/42scale.t line 61.
# got: '-19'
# expected: '-19.061'
Argument "-19. 6100000" isn't numeric in addition (+) at t/42scale.t line 61.
# Failed test 'CAST(-19.061 AS DECIMAL(18, 8))'
# at t/42scale.t line 61.
# got: '-19'
# expected: '-19.061'
Argument "-19. 61000000" isn't numeric in addition (+) at t/42scale.t line 61.
# Failed test 'CAST(-19.061 AS DECIMAL(18, 9))'
# at t/42scale.t line 61.
# got: '-19'
# expected: '-19.061'
Argument "-19. 610000000" isn't numeric in addition (+) at t/42scale.t line 61.
# Failed test 'CAST(-19.061 AS DECIMAL(18, 10))'
# at t/42scale.t line 61.
# got: '-19'
# expected: '-19.061'
Argument "-19. 6100000000" isn't numeric in addition (+) at t/42scale.t line 61.
# Failed test 'CAST(-19.061 AS DECIMAL(18, 11))'
# at t/42scale.t line 61.
# got: '-19'
# expected: '-19.061'
Argument "-19. 61000000000" isn't numeric in addition (+) at t/42scale.t line 61.
# Failed test 'CAST(-19.061 AS DECIMAL(18, 12))'
# at t/42scale.t line 61.
# got: '-19'
# expected: '-19.061'
Argument "-19. 610000000000" isn't numeric in addition (+) at t/42scale.t line 61.
# Failed test 'CAST(-19.061 AS DECIMAL(18, 13))'
# at t/42scale.t line 61.
# got: '-19'
# expected: '-19.061'
Argument "-19. 6100000000000" isn't numeric in addition (+) at t/42scale.t line 61.
# Failed test 'CAST(-19.061 AS DECIMAL(18, 14))'
# at t/42scale.t line 61.
# got: '-19'
# expected: '-19.061'
Argument "-19. 61000000000000" isn't numeric in addition (+) at t/42scale.t line 61.
# Failed test 'CAST(-19.061 AS DECIMAL(18, 15))'
# at t/42scale.t line 61.
# got: '-19'
# expected: '-19.061'
Argument "-19. 610000000000000" isn't numeric in addition (+) at t/42scale.t line 61.
# Failed test 'CAST(-19.061 AS DECIMAL(18, 16))'
# at t/42scale.t line 61.
# got: '-19'
# expected: '-19.061'
Argument "0. 1000000" isn't numeric in addition (+) at t/42scale.t line 61.
# Failed test 'CAST(0.00001 AS DECIMAL(12, 11))'
# at t/42scale.t line 61.
# got: '0'
# expected: '1e-05'
Argument "0. 100000" isn't numeric in addition (+) at t/42scale.t line 61.
# Failed test 'CAST(0.00001 AS DECIMAL(12, 10))'
# at t/42scale.t line 61.
# got: '0'
# expected: '1e-05'
Argument "0. 10000" isn't numeric in addition (+) at t/42scale.t line 61.
# Failed test 'CAST(0.00001 AS DECIMAL(12, 9))'
# at t/42scale.t line 61.
# got: '0'
# expected: '1e-05'
Argument "0. 1000" isn't numeric in addition (+) at t/42scale.t line 61.
# Failed test 'CAST(0.00001 AS DECIMAL(12, 8))'
# at t/42scale.t line 61.
# got: '0'
# expected: '1e-05'
Argument "0. 100" isn't numeric in addition (+) at t/42scale.t line 61.
# Failed test 'CAST(0.00001 AS DECIMAL(12, 7))'
# at t/42scale.t line 61.
# got: '0'
# expected: '1e-05'
Argument "0. 10" isn't numeric in addition (+) at t/42scale.t line 61.
t/42scale.t ............... 48/51
# Failed test 'CAST(0.00001 AS DECIMAL(12, 6))'
# at t/42scale.t line 61.
# got: '0'
# expected: '1e-05'
Argument "0. 1" isn't numeric in addition (+) at t/42scale.t line 61.
# Failed test 'CAST(0.00001 AS DECIMAL(12, 5))'
# at t/42scale.t line 61.
# got: '0'
# expected: '1e-05'
Argument "0. 0" isn't numeric in addition (+) at t/42scale.t line 61.
# Looks like you failed 44 tests of 51.
t/42scale.t ............... Dubious, test returned 44 (wstat 11264, 0x2c00)
Failed 44/51 subtests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.