Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Graphics-Color CPAN distribution.

Report information
The Basics
Id: 99974
Status: new
Priority: 0/
Queue: Graphics-Color

People
Owner: gphat [...] cpan.org
Requestors: exodist7 [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.29
Fixed in: (no value)



Subject: Tests are broken, but pass because of a Test::More bug.
https://metacpan.org/source/GPHAT/Graphics-Color-0.29/t/01-rgb.t line 37. cmp_ok takes $want, $op, $got, $name. Many other tests in this file are correct, but this one is wrong. Since '$op' starts with a '#' it is interpreted as a comment, as such the tests pas because $got is true. This test only passes because of a Test::More bug, listed here: Test-More/test-more#478 A new version of Test::More will be released shortly correcting the bug, at which point your tests will start to fail everywhere. You need to correct the tests that are missing an operator.