Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > 7bd7e1e4da513907de6f1779852bd7c2

perl-Test-Identity-0.10.0-3.mga4.noarch.rpm

Description:

This module provides a single testing function, 'identical'. It asserts
that a given reference is as expected; that is, it either refers to the
same object or is 'undef'. It is similar to 'Test::More::is' except that it
uses 'refaddr', ensuring that it behaves correctly even if the references
under test are objects that overload stringification or numification.

It also provides better diagnostics if the test fails:

$ perl -MTest::More=tests,1 -MTest::Identity -e'identical [], {}'
1..1
not ok 1

Sources packages:

Other version of this rpm: