Subject: | Test Failure for Numbers in Scientific Notation |
There's a small error in a test regarding numbers in scientific notation. This is for test 20load.t:
----
# Failed test (t/TestChunks.pm at line 32)
# Structures begin differing at:
# $got->[0][6] = '-6e-10'
# $expected->[0][6] = '-6e-010'
# Wanted: $VAR1 = [
# [
# 44,
# -45,
# '4.6',
# '-4.7',
# '3e+2',
# [
# '-4e+3',
# '5e-4'
# ],
# '-6e-010',
# '2001-12-15',
# '2001-12-15T02:59:43.1Z',
# '2001-12-14T21:59:43.25-05:00'
# ]
# ];
# Got: $VAR1 = [
# [
# '44',
# '-45',
# '4.6',
# '-4.7',
# '3e+2',
# [
# '-4e+3',
# '5e-4'
# ],
# '-6e-10',
# '2001-12-15',
# '2001-12-15T02:59:43.1Z',
# '2001-12-14T21:59:43.25-05:00'
# ]
# ];
# Looks like you failed 1 test of 17.
Failed 1/12 test scripts, 91.67% okay. 1/277 subtests failed, 99.64% okay.
dmake: Error code 255, while making 'test_dynamic'
----
Obviously, it's numerically equivilent, but not string equivilent.
This is on perl 5.8.7 for Win32.