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: 14746
Status: resolved
Priority: 0/
Queue: Test-Simple

People
Owner: Nobody in particular
Requestors: jdhedden [...] 1979.usna.com
Cc:
AdminCc:

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



Subject: Better error message for function refs & globs in is_deeply()
$ perl -wle 'use Test::More tests => 1; is_deeply(sub {}, sub{} )' 1..1 WHOA! No type in _deep_check This should never happen! Please contact the author immediately! # Looks like your test died before it could output anything. This should display an error message saying is_deeply() can't handle function refs instead of a generic WHOA. Do the same for typeglobs. Also document the behavior of is_deeply wrt function refs and globs, that it only looks to see if they're the same reference but this may change in the future.