Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Test-Simple CPAN distribution.

Report information
The Basics
Id: 13156
Status: resolved
Priority: 0/
Queue: Test-Simple

People
Owner: Nobody in particular
Requestors: fdjcomp [...] yahoo.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



Subject: cmp_ok() treats objects as strings.
Given $obj is numerically overloaded this cmp_ok($obj, '==', 42); should be equivalent to this print "ok" if $obj == 42; Currently cmp_ok() stringifies the object so it is not. It will have to be smarter and numerify if the comparision op is a numeric one.