https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8338

            Bug ID: 8338
           Summary: html_colors.t failures
           Product: Spamassassin
           Version: 4.0.2
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Libraries
          Assignee: dev@spamassassin.apache.org
          Reporter: giova...@paclan.it
  Target Milestone: Undefined

On some CPAN testers html_colors.t tests are failing.

-----------------------------------------------------------------------------
#   Failed test 'Distance between lightsteelblue and lightslategray is
44.8676815367142'
#   at t/html_colors.t line 200.
#          got: '44.8676815367141519'
#     expected: '44.8676815367142'

#   Failed test 'Distance between lightgoldenrodyellow and papayawhip is
7.94164469112035'
#   at t/html_colors.t line 200.
#          got: '7.94164469112034752'
#     expected: '7.94164469112035'

#   Failed test 'Distance between turquoise and violet is 76.7648406707133'
#   at t/html_colors.t line 200.
#          got: '76.764840670713308'
#     expected: '76.7648406707133'
# Looks like you failed 3 tests of 38.
t/html_colors.t ................... 
Dubious, test returned 3 (wstat 768, 0x300)
Failed 3/38 subtests 
-----------------------------------------------------------------------------
It seems that some Perl implementations uses a longer default decimal number.
We should probably round the distance between colors, maybe doing it on test
file might be enough.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to